* [Buildroot] [Bug 4249] New: uClibc and libpthread
@ 2011-09-23 14:52 bugzilla at busybox.net
2011-09-23 15:36 ` [Buildroot] [Bug 4249] " bugzilla at busybox.net
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: bugzilla at busybox.net @ 2011-09-23 14:52 UTC (permalink / raw)
To: buildroot
https://bugs.busybox.net/show_bug.cgi?id=4249
Summary: uClibc and libpthread
Product: buildroot
Version: unspecified
Platform: Other
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P5
Component: Other
AssignedTo: unassigned at buildroot.uclibc.org
ReportedBy: bachmann at tofwerk.com
CC: buildroot at uclibc.org
Estimated Hours: 0.0
I compiled a new rootfs for my SAM9-L9260-Board from Olimex.
I used the buildroot-2011.08, with uClibc-0.9.32.
The compiling worked just fine, but when i try to compile my own program on the
Target it failes.
Here the situation which lead to the bug:
My compile command:
g++ -g /TPSController.cpp -llua -ldl -lpthread -o /TPSController
My compile output:
/usr/lib/gcc/arm-unknown-linux-uclibcgnueabi/4.3.6/../../../libc.a(sigprocmask.os):
In function `sigprocmask':
sigprocmask.c:(.text+0x0): multiple definition of `sigprocmask'
/usr/lib/gcc/arm-unknown-linux-uclibcgnueabi/4.3.6/../../../libpthread.a(pt-sigprocmask.os):pt-sigprocmask.c:(.text+0x0):
first defined here
/usr/lib/gcc/arm-unknown-linux-uclibcgnueabi/4.3.6/../../../libc.a(sigaction.os):
In function `__libc_sigaction':
sigaction.c:(.text+0x0): multiple definition of `__libc_sigaction'
/usr/lib/gcc/arm-unknown-linux-uclibcgnueabi/4.3.6/../../../libpthread.a(pt-sigaction.os):pt-sigaction.c:(.text+0x0):
first defined here
/usr/lib/gcc/arm-unknown-linux-uclibcgnueabi/4.3.6/../../../libc.a(sigaction.os):
In function `sigaction':
sigaction.c:(.text+0x84): multiple definition of `__sigaction'
/usr/lib/gcc/arm-unknown-linux-uclibcgnueabi/4.3.6/../../../libpthread.a(pt-sigaction.os):pt-sigaction.c:(.text+0x84):
first defined here
collect2: ld returned 1 exit status
I've got the same fault even if i try the different thread implementation that
uClibc has. I thought that the NPTL should be fixed in the uClibc-0.9.32
--
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Buildroot] [Bug 4249] uClibc and libpthread
2011-09-23 14:52 [Buildroot] [Bug 4249] New: uClibc and libpthread bugzilla at busybox.net
@ 2011-09-23 15:36 ` bugzilla at busybox.net
2011-09-24 15:50 ` bugzilla at busybox.net
2011-10-06 21:36 ` bugzilla at busybox.net
2 siblings, 0 replies; 4+ messages in thread
From: bugzilla at busybox.net @ 2011-09-23 15:36 UTC (permalink / raw)
To: buildroot
https://bugs.busybox.net/show_bug.cgi?id=4249
--- Comment #1 from Rico Bachmann <bachmann@tofwerk.com> ---
i think i found at least a workaround.
there are 2 libraries created, a libpthread.so and a libpthread-0.9.32.so
if you link to libpthread-0.9.32.so the compiling works fine
--
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Buildroot] [Bug 4249] uClibc and libpthread
2011-09-23 14:52 [Buildroot] [Bug 4249] New: uClibc and libpthread bugzilla at busybox.net
2011-09-23 15:36 ` [Buildroot] [Bug 4249] " bugzilla at busybox.net
@ 2011-09-24 15:50 ` bugzilla at busybox.net
2011-10-06 21:36 ` bugzilla at busybox.net
2 siblings, 0 replies; 4+ messages in thread
From: bugzilla at busybox.net @ 2011-09-24 15:50 UTC (permalink / raw)
To: buildroot
https://bugs.busybox.net/show_bug.cgi?id=4249
--- Comment #2 from Thomas Petazzoni <thomas.petazzoni@free-electrons.com> ---
Rico, if you want us to debug your problem, we will need all the details needed
to reproduce it. First, your Buildroot configuration, and second, the source
code of your application, or the source code of a similar test program that
exhibits the problem. Without these informations, there's little we can do to
help you.
--
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Buildroot] [Bug 4249] uClibc and libpthread
2011-09-23 14:52 [Buildroot] [Bug 4249] New: uClibc and libpthread bugzilla at busybox.net
2011-09-23 15:36 ` [Buildroot] [Bug 4249] " bugzilla at busybox.net
2011-09-24 15:50 ` bugzilla at busybox.net
@ 2011-10-06 21:36 ` bugzilla at busybox.net
2 siblings, 0 replies; 4+ messages in thread
From: bugzilla at busybox.net @ 2011-10-06 21:36 UTC (permalink / raw)
To: buildroot
https://bugs.busybox.net/show_bug.cgi?id=4249
Yann E. MORIN <yann.morin.1998@anciens.enib.fr> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
CC| |yann.morin.1998 at anciens.eni
| |b.fr
Resolution| |DUPLICATE
--- Comment #3 from Yann E. MORIN <yann.morin.1998@anciens.enib.fr> ---
*** This bug has been marked as a duplicate of bug 4117 ***
--
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2011-10-06 21:36 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-09-23 14:52 [Buildroot] [Bug 4249] New: uClibc and libpthread bugzilla at busybox.net
2011-09-23 15:36 ` [Buildroot] [Bug 4249] " bugzilla at busybox.net
2011-09-24 15:50 ` bugzilla at busybox.net
2011-10-06 21:36 ` bugzilla at busybox.net
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.