* [Buildroot] [Bug 4117] New: 2011.08: default config with qt + ssl. Linking fails
@ 2011-08-31 20:37 bugzilla at busybox.net
2011-10-06 8:51 ` [Buildroot] [Bug 4117] " bugzilla at busybox.net
` (5 more replies)
0 siblings, 6 replies; 7+ messages in thread
From: bugzilla at busybox.net @ 2011-08-31 20:37 UTC (permalink / raw)
To: buildroot
https://bugs.busybox.net/show_bug.cgi?id=4117
Summary: 2011.08: default config with qt + ssl. Linking fails
Product: buildroot
Version: unspecified
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P5
Component: Other
AssignedTo: unassigned at buildroot.uclibc.org
ReportedBy: thomas at zicada.no
CC: buildroot at uclibc.org
Estimated Hours: 0.0
Trying to link custom software (same code links on 2011.05 with same config).
Output:
/home/zicada/buildroot-2011.08/output/host/usr/lib/gcc/arm-unknown-linux-uclibcgnueabi/4.3.6/libgcc_eh.a(unwind-arm.o):
In function `__aeabi_unwind_cpp_pr0':
/home/zicada/buildroot-2011.08/output/toolchain/gcc-4.3.6/libgcc/../gcc/config/arm/unwind-arm.c:1251:
multiple definition of `__aeabi_unwind_cpp_pr0'
/home/zicada/buildroot-2011.08/output/host/usr/arm-unknown-linux-uclibcgnueabi/sysroot/usr/lib/librt.a(aeabi_unwind_cpp_pr1.os):aeabi_unwind_cpp_pr1.c:(.text+0x0):
first defined here
/home/zicada/buildroot-2011.08/output/host/usr/arm-unknown-linux-uclibcgnueabi/sysroot/usr/lib/libc.a(sigprocmask.os):
In function `sigprocmask':
sigprocmask.c:(.text+0x0): multiple definition of `sigprocmask'
/home/zicada/buildroot-2011.08/output/host/usr/arm-unknown-linux-uclibcgnueabi/sysroot/usr/lib/libpthread.a(pt-sigprocmask.os):pt-sigprocmask.c:(.text+0x0):
first defined here
/home/zicada/buildroot-2011.08/output/host/usr/arm-unknown-linux-uclibcgnueabi/sysroot/usr/lib/libc.a(sigaction.os):
In function `__libc_sigaction':
sigaction.c:(.text+0x0): multiple definition of `__libc_sigaction'
/home/zicada/buildroot-2011.08/output/host/usr/arm-unknown-linux-uclibcgnueabi/sysroot/usr/lib/libpthread.a(pt-sigaction.os):pt-sigaction.c:(.text+0x0):
first defined here
/home/zicada/buildroot-2011.08/output/host/usr/arm-unknown-linux-uclibcgnueabi/sysroot/usr/lib/libc.a(sigaction.os):
In function `sigaction':
sigaction.c:(.text+0x84): multiple definition of `__sigaction'
/home/zicada/buildroot-2011.08/output/host/usr/arm-unknown-linux-uclibcgnueabi/sysroot/usr/lib/libpthread.a(pt-sigaction.os):pt-sigaction.c:(.text+0x84):
first defined here
collect2: ld returned 1 exit status
make: *** [target/dist/jottaembedded] Error 1
--
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] 7+ messages in thread
* [Buildroot] [Bug 4117] 2011.08: default config with qt + ssl. Linking fails
2011-08-31 20:37 [Buildroot] [Bug 4117] New: 2011.08: default config with qt + ssl. Linking fails bugzilla at busybox.net
@ 2011-10-06 8:51 ` bugzilla at busybox.net
2011-10-06 8:58 ` bugzilla at busybox.net
` (4 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: bugzilla at busybox.net @ 2011-10-06 8:51 UTC (permalink / raw)
To: buildroot
https://bugs.busybox.net/show_bug.cgi?id=4117
--- Comment #1 from AWa. <awa_wp@wp.pl> ---
I confirm this bug.
arm-linux-gcc test.c -o test -lpthread -static
/home/dl3/src/buildroot-2011.08_test/output/host/usr/lib/gcc/arm-unknown-linux-uclibcgnueabi/4.3.6/libgcc_eh.a(unwind-arm.o):
In function `__aeabi_unwind_cpp_pr0':
/home/dl3/src/buildroot-2011.08_test/output/toolchain/gcc-4.3.6/libgcc/../gcc/config/arm/unwind-arm.c:1251:
multiple definition of `__aeabi_unwind_cpp_pr0'
/home/dl3/src/buildroot-2011.08_test/output/host/usr/arm-unknown-linux-uclibcgnueabi/sysroot/usr/lib/libpthread.a(aeabi_unwind_cpp_pr1.os):/home/dl3/src/buildroot-2011.08_test/output/toolchain/uClibc-0.9.32/./libc/sysdeps/linux/arm/../../../../libc/sysdeps/linux/arm/aeabi_unwind_cpp_pr1.c:29:
first defined here
/home/dl3/src/buildroot-2011.08_test/output/host/usr/arm-unknown-linux-uclibcgnueabi/sysroot/usr/lib/libc.a(sigprocmask.os):
In function `*__GI_sigprocmask':
/home/dl3/src/buildroot-2011.08_test/output/toolchain/uClibc-0.9.32/libc/sysdeps/linux/common/sigprocmask.c:27:
multiple definition of `sigprocmask'
/home/dl3/src/buildroot-2011.08_test/output/host/usr/arm-unknown-linux-uclibcgnueabi/sysroot/usr/lib/libpthread.a(pt-sigprocmask.os):/home/dl3/src/buildroot-2011.08_test/output/toolchain/uClibc-0.9.32/./libc/sysdeps/linux/arm/../../../../libc/sysdeps/linux/common/sigprocmask.c:27:
first defined here
/home/dl3/src/buildroot-2011.08_test/output/host/usr/arm-unknown-linux-uclibcgnueabi/sysroot/usr/lib/libc.a(sigaction.os):
In function `__libc_sigaction':
/home/dl3/src/buildroot-2011.08_test/output/toolchain/uClibc-0.9.32/./libc/sysdeps/linux/arm/sigaction.c:50:
multiple definition of `__libc_sigaction'
/home/dl3/src/buildroot-2011.08_test/output/host/usr/arm-unknown-linux-uclibcgnueabi/sysroot/usr/lib/libpthread.a(pt-sigaction.os):/home/dl3/src/buildroot-2011.08_test/output/toolchain/uClibc-0.9.32/./libc/sysdeps/linux/arm/sigaction.c:50:
first defined here
/home/dl3/src/buildroot-2011.08_test/output/host/usr/arm-unknown-linux-uclibcgnueabi/sysroot/usr/lib/libc.a(sigaction.os):
In function `__sigaction':
/home/dl3/src/buildroot-2011.08_test/output/toolchain/uClibc-0.9.32/libpthread/nptl/sysdeps/pthread/sigaction.c:32:
multiple definition of `__sigaction'
/home/dl3/src/buildroot-2011.08_test/output/host/usr/arm-unknown-linux-uclibcgnueabi/sysroot/usr/lib/libpthread.a(pt-sigaction.os):/home/dl3/src/buildroot-2011.08_test/output/toolchain/uClibc-0.9.32/libpthread/nptl/sysdeps/pthread/pt-sigaction.c:32:
first defined here
collect2: ld returned 1 exit status
--
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] 7+ messages in thread
* [Buildroot] [Bug 4117] 2011.08: default config with qt + ssl. Linking fails
2011-08-31 20:37 [Buildroot] [Bug 4117] New: 2011.08: default config with qt + ssl. Linking fails bugzilla at busybox.net
2011-10-06 8:51 ` [Buildroot] [Bug 4117] " bugzilla at busybox.net
@ 2011-10-06 8:58 ` bugzilla at busybox.net
2011-10-06 12:39 ` bugzilla at busybox.net
` (3 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: bugzilla at busybox.net @ 2011-10-06 8:58 UTC (permalink / raw)
To: buildroot
https://bugs.busybox.net/show_bug.cgi?id=4117
--- Comment #2 from Thomas Petazzoni <thomas.petazzoni@free-electrons.com> ---
Can you please provide your Buildroot .config + source code of the test program
?
--
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] 7+ messages in thread
* [Buildroot] [Bug 4117] 2011.08: default config with qt + ssl. Linking fails
2011-08-31 20:37 [Buildroot] [Bug 4117] New: 2011.08: default config with qt + ssl. Linking fails bugzilla at busybox.net
2011-10-06 8:51 ` [Buildroot] [Bug 4117] " bugzilla at busybox.net
2011-10-06 8:58 ` bugzilla at busybox.net
@ 2011-10-06 12:39 ` bugzilla at busybox.net
2011-10-06 12:56 ` bugzilla at busybox.net
` (2 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: bugzilla at busybox.net @ 2011-10-06 12:39 UTC (permalink / raw)
To: buildroot
https://bugs.busybox.net/show_bug.cgi?id=4117
--- Comment #3 from AWa. <awa_wp@wp.pl> ---
Created attachment 3619
--> https://bugs.busybox.net/attachment.cgi?id=3619
Buildroot configuration file.
--
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] 7+ messages in thread
* [Buildroot] [Bug 4117] 2011.08: default config with qt + ssl. Linking fails
2011-08-31 20:37 [Buildroot] [Bug 4117] New: 2011.08: default config with qt + ssl. Linking fails bugzilla at busybox.net
` (2 preceding siblings ...)
2011-10-06 12:39 ` bugzilla at busybox.net
@ 2011-10-06 12:56 ` bugzilla at busybox.net
2011-10-06 21:36 ` bugzilla at busybox.net
2012-01-31 22:42 ` bugzilla at busybox.net
5 siblings, 0 replies; 7+ messages in thread
From: bugzilla at busybox.net @ 2011-10-06 12:56 UTC (permalink / raw)
To: buildroot
https://bugs.busybox.net/show_bug.cgi?id=4117
--- Comment #4 from AWa. <awa_wp@wp.pl> ---
System:
Linux apps 2.6.38-11-generic #48-Ubuntu SMP Fri Jul 29 19:02:55 UTC 2011
x86_64 x86_64 x86_64 GNU/Linux
Buildroot:
buildroot-2011.08.tar.bz2
arm/arm926t
Config file attached.
Test program:
http://blog.superpat.com/2010/07/14/semaphores-on-linux-sem_init-vs-sem_open/
If this program is build with dynamic library it fail when run on sem_init()
with error: "Function not implemented".
Semaphores on my system works, for example, when I use semget().
Program can be linked as static or dynamic executable.
Example program from:
http://www.cs.uregina.ca/Links/class-info/330/Semaphore/semaphore.html
program7_1.cpp
AWa.
--
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] 7+ messages in thread
* [Buildroot] [Bug 4117] 2011.08: default config with qt + ssl. Linking fails
2011-08-31 20:37 [Buildroot] [Bug 4117] New: 2011.08: default config with qt + ssl. Linking fails bugzilla at busybox.net
` (3 preceding siblings ...)
2011-10-06 12:56 ` bugzilla at busybox.net
@ 2011-10-06 21:36 ` bugzilla at busybox.net
2012-01-31 22:42 ` bugzilla at busybox.net
5 siblings, 0 replies; 7+ 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=4117
Yann E. MORIN <yann.morin.1998@anciens.enib.fr> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |bachmann at tofwerk.com
--- Comment #5 from Yann E. MORIN <yann.morin.1998@anciens.enib.fr> ---
*** Bug 4249 has been marked as a duplicate of this bug. ***
--
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] 7+ messages in thread
* [Buildroot] [Bug 4117] 2011.08: default config with qt + ssl. Linking fails
2011-08-31 20:37 [Buildroot] [Bug 4117] New: 2011.08: default config with qt + ssl. Linking fails bugzilla at busybox.net
` (4 preceding siblings ...)
2011-10-06 21:36 ` bugzilla at busybox.net
@ 2012-01-31 22:42 ` bugzilla at busybox.net
5 siblings, 0 replies; 7+ messages in thread
From: bugzilla at busybox.net @ 2012-01-31 22:42 UTC (permalink / raw)
To: buildroot
https://bugs.busybox.net/show_bug.cgi?id=4117
Thomas Petazzoni <thomas.petazzoni@free-electrons.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |INVALID
--- Comment #6 from Thomas Petazzoni <thomas.petazzoni@free-electrons.com> 2012-01-31 22:42:36 UTC ---
The original problem is that statically linking with pthread doesn't work with
uClibc. It is a known problem, which has been discussed on the uClibc
mailing-list already:
http://lists.uclibc.org/pipermail/uclibc/2011-March/045109.html. I haven't
heard of it being fixed, though. As it is not a Buildroot bug, but a uClibc
bug, I will be closing this bug, and I encourage you to report the problem to
the uClibc people.
--
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] 7+ messages in thread
end of thread, other threads:[~2012-01-31 22:42 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-08-31 20:37 [Buildroot] [Bug 4117] New: 2011.08: default config with qt + ssl. Linking fails bugzilla at busybox.net
2011-10-06 8:51 ` [Buildroot] [Bug 4117] " bugzilla at busybox.net
2011-10-06 8:58 ` bugzilla at busybox.net
2011-10-06 12:39 ` bugzilla at busybox.net
2011-10-06 12:56 ` bugzilla at busybox.net
2011-10-06 21:36 ` bugzilla at busybox.net
2012-01-31 22:42 ` bugzilla at busybox.net
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox