* angstrom 2008.1, uclibc: libc.so not found, i. e. not in staging directory
@ 2010-07-14 18:44 Paul Menzel
2010-07-14 19:48 ` Henning Heinold
0 siblings, 1 reply; 8+ messages in thread
From: Paul Menzel @ 2010-07-14 18:44 UTC (permalink / raw)
To: openembedded-devel
[-- Attachment #1: Type: text/plain, Size: 1173 bytes --]
Dear OE folks,
I am trying to compile vdr with uclibc. I got the following error.
/oe/angstrom-dev/cross/armv7a/lib/gcc/arm-angstrom-linux-uclibceabi/4.3.3/../../../../arm-angstrom-linux-uclibceabi/bin/ld: warning: libc.so, needed by /oe/angstrom-dev/cross/armv7a/lib/gcc/arm-angstrom-linux-uclibceabi/4.3.3/../../../../arm-angstrom-linux-uclibceabi/lib/libgcc_s.so, not found (try using -rpath or -rpath-link)
Creating a symlink seems to be a workaround.
$ ls
ld-uClibc-0.9.30.2.so libgcc_s.so.1 libresolv.so.0
ld-uClibc.so.0 libm-0.9.30.2.so librt-0.9.30.2.so
libcrypt-0.9.30.2.so libm.so.0 librt.so.0
libcrypt.so.0 libnsl-0.9.30.2.so libthread_db-0.9.30.2.so
libc.so.0 libnsl.so.0 libthread_db.so.1
libdl-0.9.30.2.so libpthread-0.9.30.2.so libuClibc-0.9.30.2.so
libdl.so.0 libpthread.so.0 libutil-0.9.30.2.so
libgcc_s.so libresolv-0.9.30.2.so libutil.so.0
$ ln -s libc.so.0 libc.so
Any ideas how to fix this properly?
Thanks,
Paul
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 205 bytes --]
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: angstrom 2008.1, uclibc: libc.so not found, i. e. not in staging directory
2010-07-14 18:44 angstrom 2008.1, uclibc: libc.so not found, i. e. not in staging directory Paul Menzel
@ 2010-07-14 19:48 ` Henning Heinold
2010-07-15 17:52 ` uclibc-git: oe_runmake failed: error: '__a1' undeclared (first use in this function) (was: angstrom 2008.1, uclibc: libc.so not found, i. e. not in staging directory) Paul Menzel
0 siblings, 1 reply; 8+ messages in thread
From: Henning Heinold @ 2010-07-14 19:48 UTC (permalink / raw)
To: openembedded-devel
Hi,
hm you want proably uclibc-git anyway because it has nptl-thread support.
Bye Henning
^ permalink raw reply [flat|nested] 8+ messages in thread
* uclibc-git: oe_runmake failed: error: '__a1' undeclared (first use in this function) (was: angstrom 2008.1, uclibc: libc.so not found, i. e. not in staging directory)
2010-07-14 19:48 ` Henning Heinold
@ 2010-07-15 17:52 ` Paul Menzel
2010-07-15 19:48 ` Henning Heinold
0 siblings, 1 reply; 8+ messages in thread
From: Paul Menzel @ 2010-07-15 17:52 UTC (permalink / raw)
To: openembedded-devel
[-- Attachment #1: Type: text/plain, Size: 2955 bytes --]
Dear Henning,
Am Mittwoch, den 14.07.2010, 21:48 +0200 schrieb Henning Heinold:
> hm you want probably uclibc-git anyway because it has nptl-thread support.
thank you for the hint. Unfortunately it trying to use `uclibc-git.bb`
fails with the following error in `do_compile()`.
arm-oe-linux-uclibceabi-gcc -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mfloat-abi=softfp -c libm/float_wrappers.c -o libm/acoshf.o -include ./include/libc-symbols.h -Wall -Wstrict-prototypes -fno-strict-aliasing -Wnested-externs -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wformat=2 -Wmissing-prototypes -Wmissing-declarations -Wold-style-declaration -Wold-style-definition -Wnonnull -Wundef -funsigned-char -fno-builtin -fno-asm -std=gnu99 -mlittle-endian -mtune=arm9tdmi -march=armv4t -fno-stack-protector -nostdinc -I./include -I./include -I. -I./libc/sysdeps/linux -I./libc/sysdeps/linux/arm -fexpensive-optimizations -fomit-frame-pointer -frename-registers -Os -Os -funit-at-a-time -fmerge-all-constants -fno-tree-loop-optimize -fno-tree-dominator-opts -fno-strength-reduce -fstrict-aliasing -DHAVE_FORCED_UNWIND -I./libpthread/nptl -I./libpthread/nptl -I./libpthread/nptl/sysdeps/unix/sysv/linux/arm/ -I./libpthread/nptl/sysdeps/unix/sysv/linux/arm -I./libpthread/nptl/sysdeps/arm -I./libpthread/nptl/sysdeps/arm -I./libpthread/nptl/sysdeps/unix/sysv/linux -I./libpthread/nptl/sysdeps/unix/sysv/linux -I./libpthread/nptl/sysdeps/generic -I./libpthread/nptl/sysdeps/pthread -I./libpthread/nptl/sysdeps/pthread/bits -I./ldso/ldso/arm -I./ldso/include -I./libc/sysdeps/linux/common -I/tmp/minimal-uclibc-minimal-dev/sysroots/armv7a-oe-linux-uclibceabi/usr/include/ -isystem /tmp/minimal-uclibc-minimal-dev/cross/armv7a/lib/gcc/arm-oe-linux-uclibceabi/4.4.4/include-fixed -isystem /tmp/minimal-uclibc-minimal-dev/cross/armv7a/lib/gcc/arm-oe-linux-uclibceabi/4.4.4/include -DNDEBUG -D__USE_STDIO_FUTEXES__ -DNOT_IN_libc -DIS_IN_libm -D_IEEE_LIBM -MT libm/acoshf.o -MD -MP -MF libm/.acoshf.o.dep -DL_acoshf
In file included from libpthread/nptl/sysdeps/pthread/pt-sigprocmask.c:22:
./libc/sysdeps/linux/arm/../../../../libc/sysdeps/linux/common/sigprocmask.c: In function '__rt_sigprocmask':
./libc/sysdeps/linux/arm/../../../../libc/sysdeps/linux/common/sigprocmask.c:24: error: '__a1' undeclared (first use in this function)
./libc/sysdeps/linux/arm/../../../../libc/sysdeps/linux/common/sigprocmask.c:24: error: (Each undeclared identifier is reported only once
./libc/sysdeps/linux/arm/../../../../libc/sysdeps/linux/common/sigprocmask.c:24: error: for each function it appears in.)
make: *** [libpthread/nptl/sysdeps/pthread/pt-sigprocmask.oS] Error 1
make: *** Waiting for unfinished jobs....
FATAL: oe_runmake failed
I could reproduce this error with the distributions `angstrom-2008.1` and `minimal-uclibc`.
Is that a known problem?
Thanks,
Paul
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 205 bytes --]
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: uclibc-git: oe_runmake failed: error: '__a1' undeclared (first use in this function) (was: angstrom 2008.1, uclibc: libc.so not found, i. e. not in staging directory)
2010-07-15 17:52 ` uclibc-git: oe_runmake failed: error: '__a1' undeclared (first use in this function) (was: angstrom 2008.1, uclibc: libc.so not found, i. e. not in staging directory) Paul Menzel
@ 2010-07-15 19:48 ` Henning Heinold
2010-07-15 20:02 ` Khem Raj
0 siblings, 1 reply; 8+ messages in thread
From: Henning Heinold @ 2010-07-15 19:48 UTC (permalink / raw)
To: openembedded-devel
Hi,
seems that this revision fixes ppc and brakes arm. Not good, I will revert the commit.
Bye Henning
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: uclibc-git: oe_runmake failed: error: '__a1' undeclared (first use in this function) (was: angstrom 2008.1, uclibc: libc.so not found, i. e. not in staging directory)
2010-07-15 19:48 ` Henning Heinold
@ 2010-07-15 20:02 ` Khem Raj
2010-07-15 20:16 ` Henning Heinold
0 siblings, 1 reply; 8+ messages in thread
From: Khem Raj @ 2010-07-15 20:02 UTC (permalink / raw)
To: openembedded-devel
On Thu, Jul 15, 2010 at 12:48 PM, Henning Heinold
<heinold@inf.fu-berlin.de> wrote:
> Hi,
>
> seems that this revision fixes ppc and brakes arm. Not good, I will revert the commit.
>
No need to revert the commit. Just pick the latest tip of uclibc once
more. I have fixed it.
> Bye Henning
>
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
>
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: uclibc-git: oe_runmake failed: error: '__a1' undeclared (first use in this function) (was: angstrom 2008.1, uclibc: libc.so not found, i. e. not in staging directory)
2010-07-15 20:02 ` Khem Raj
@ 2010-07-15 20:16 ` Henning Heinold
2010-07-17 8:56 ` angstrom-2008.1, uclibc-git: oe_runmake failed: Error: unknown pseudo-op: `.cfi_sections' (was: oe_runmake failed: error: '__a1' undeclared (first use in this function)) Paul Menzel
0 siblings, 1 reply; 8+ messages in thread
From: Henning Heinold @ 2010-07-15 20:16 UTC (permalink / raw)
To: openembedded-devel
Hi,
its pushed now.
Bye Henning
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: angstrom-2008.1, uclibc-git: oe_runmake failed: Error: unknown pseudo-op: `.cfi_sections' (was: oe_runmake failed: error: '__a1' undeclared (first use in this function))
2010-07-15 20:16 ` Henning Heinold
@ 2010-07-17 8:56 ` Paul Menzel
2010-07-17 11:20 ` Bernhard Reutner-Fischer
0 siblings, 1 reply; 8+ messages in thread
From: Paul Menzel @ 2010-07-17 8:56 UTC (permalink / raw)
To: openembedded-devel
[-- Attachment #1.1: Type: text/plain, Size: 2965 bytes --]
Am Donnerstag, den 15.07.2010, 22:16 +0200 schrieb Henning Heinold:
> its pushed now.
Henning and Khem, thank you for your fast and great help!
I hit the next problem with `uclibc-git.bb`. This time it fails with the
distribution angstrom-2008.1 (-ggdb3 removed) but works with the
distribution minimal-uclibc.
arm-angstrom-linux-uclibceabi-gcc -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mfloat-abi=softfp -c libpthread/nptl/sysdeps/unix/sysv/linux/open.S -o libpthread/nptl/sysdeps/unix/sysv/linux/open.o -include ./include/libc-symbols.h -Wall -Wstrict-prototypes -fno-strict-aliasing -Wnested-externs -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wformat=2 -Wmissing-prototypes -Wmissing-declarations -Wold-style-declaration -Wold-style-definition -Wnonnull -Wundef -funsigned-char -fno-builtin -fno-asm -mlittle-endian -mtune=arm9tdmi -march=armv4t -fno-stack-protector -nostdinc -I./include -I./include -I. -I./libc/sysdeps/linux -I./libc/sysdeps/linux/arm -fexpensive-optimizations -fomit-frame-pointer -frename-registers -O2 -ggdb3 -Os -funit-at-a-time -fmerge-all-constants -fno-tree-loop-optimize -fno-tree-dominator-opts -fno-strength-reduce -fstrict-aliasing -DHAVE_FORCED_UNWIND -I./libpthread/nptl -I./libpthread/nptl -I./libpthread/nptl/sysdeps/unix/sysv/linux/arm/ -I./libpthread/nptl/sysdeps/unix/sysv/linux/arm -I./libpthread/nptl/sysdeps/arm -I./libpthread/nptl/sysdeps/arm -I./libpthread/nptl/sysdeps/unix/sysv/linux -I./libpthread/nptl/sysdeps/unix/sysv/linux -I./libpthread/nptl/sysdeps/generic -I./libpthread/nptl/sysdeps/pthread -I./libpthread/nptl/sysdeps/pthread/bits -I./ldso/ldso/arm -I./ldso/include -I./libc/sysdeps/linux/common -I/tmp/angstrom-dev/sysroots/armv7a-angstrom-linux-uclibceabi/usr/include/ -isystem /tmp/angstrom-dev/cross/armv7a/lib/gcc/arm-angstrom-linux-uclibceabi/4.3.3/include-fixed -isystem /tmp/angstrom-dev/cross/armv7a/lib/gcc/arm-angstrom-linux-uclibceabi/4.3.3/include -DNDEBUG -D__USE_STDIO_FUTEXES__ -MT libpthread/nptl/sysdeps/unix/sysv/linux/open.o -MD -MP -MF libpthread/nptl/sysdeps/unix/sysv/linux/.open.o.dep -D__ASSEMBLER__ -Wa,--noexecstack -D_LIBC_REENTRANT
libpthread/nptl/sysdeps/unix/sysv/linux/open.S: Assembler messages:
libpthread/nptl/sysdeps/unix/sysv/linux/open.S:8: Error: unknown pseudo-op: `.cfi_sections'
libpthread/nptl/sysdeps/unix/sysv/linux/close.S: Assembler messages:
libpthread/nptl/sysdeps/unix/sysv/linux/close.S:9: Error: unknown pseudo-op: `.cfi_sections'
make: *** [libpthread/nptl/sysdeps/unix/sysv/linux/open.o] Error 1
make: *** Waiting for unfinished jobs....
make: *** [libpthread/nptl/sysdeps/unix/sysv/linux/close.o] Error 1
libpthread/nptl/sysdeps/unix/sysv/linux/jmp-unwind.c:29: warning: no previous prototype for '_longjmp_unwind'
FATAL: oe_runmake failed
The full log is attached compressed. Uncompressed it was 1.7 MB big.
Thanks,
Paul
[-- Attachment #1.2: log.do_compile.18181.7z --]
[-- Type: application/x-7z-compressed, Size: 25631 bytes --]
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 205 bytes --]
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: angstrom-2008.1, uclibc-git: oe_runmake failed: Error: unknown pseudo-op: `.cfi_sections' (was: oe_runmake failed: error: '__a1' undeclared (first use in this function))
2010-07-17 8:56 ` angstrom-2008.1, uclibc-git: oe_runmake failed: Error: unknown pseudo-op: `.cfi_sections' (was: oe_runmake failed: error: '__a1' undeclared (first use in this function)) Paul Menzel
@ 2010-07-17 11:20 ` Bernhard Reutner-Fischer
0 siblings, 0 replies; 8+ messages in thread
From: Bernhard Reutner-Fischer @ 2010-07-17 11:20 UTC (permalink / raw)
To: openembedded-devel
On Sat, Jul 17, 2010 at 10:56:38AM +0200, Paul Menzel wrote:
>Am Donnerstag, den 15.07.2010, 22:16 +0200 schrieb Henning Heinold:
>
>> its pushed now.
>
>Henning and Khem, thank you for your fast and great help!
>
>I hit the next problem with `uclibc-git.bb`. This time it fails with the
>distribution angstrom-2008.1 (-ggdb3 removed) but works with the
>distribution minimal-uclibc.
>
> arm-angstrom-linux-uclibceabi-gcc -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mfloat-abi=softfp -c libpthread/nptl/sysdeps/unix/sysv/linux/open.S -o libpthread/nptl/sysdeps/unix/sysv/linux/open.o -include ./include/libc-symbols.h -Wall -Wstrict-prototypes -fno-strict-aliasing -Wnested-externs -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wformat=2 -Wmissing-prototypes -Wmissing-declarations -Wold-style-declaration -Wold-style-definition -Wnonnull -Wundef -funsigned-char -fno-builtin -fno-asm -mlittle-endian -mtune=arm9tdmi -march=armv4t -fno-stack-protector -nostdinc -I./include -I./include -I. -I./libc/sysdeps/linux -I./libc/sysdeps/linux/arm -fexpensive-optimizations -fomit-frame-pointer -frename-registers -O2 -ggdb3 -Os -funit-at-a-time -fmerge-all-constants -fno-tree-loop-optimize -fno-tree-dominator-opts -fno-strength-reduce -fstrict-aliasing -DHAVE_FORCED_UNWIND -I./libpthread/nptl -I./libpthread/nptl -I./libpthread/nptl/sysdeps/unix/sysv/linux/arm/ -I./libpthread/nptl/sysdeps/unix/sy
>sv/linux/arm -I./libpthread/nptl/sysdeps/arm -I./libpthread/nptl/sysdeps/arm -I./libpthread/nptl/sysdeps/unix/sysv/linux -I./libpthread/nptl/sysdeps/unix/sysv/linux -I./libpthread/nptl/sysdeps/generic -I./libpthread/nptl/sysdeps/pthread -I./libpthread/nptl/sysdeps/pthread/bits -I./ldso/ldso/arm -I./ldso/include -I./libc/sysdeps/linux/common -I/tmp/angstrom-dev/sysroots/armv7a-angstrom-linux-uclibceabi/usr/include/ -isystem /tmp/angstrom-dev/cross/armv7a/lib/gcc/arm-angstrom-linux-uclibceabi/4.3.3/include-fixed -isystem /tmp/angstrom-dev/cross/armv7a/lib/gcc/arm-angstrom-linux-uclibceabi/4.3.3/include -DNDEBUG -D__USE_STDIO_FUTEXES__ -MT libpthread/nptl/sysdeps/unix/sysv/linux/open.o -MD -MP -MF libpthread/nptl/sysdeps/unix/sysv/linux/.open.o.dep -D__ASSEMBLER__ -Wa,--noexecstack -D_LIBC_REENTRANT
> libpthread/nptl/sysdeps/unix/sysv/linux/open.S: Assembler messages:
> libpthread/nptl/sysdeps/unix/sysv/linux/open.S:8: Error: unknown pseudo-op: `.cfi_sections'
binutils too old?
qemuarm builds fine with 2.20.1, which version of binutils are you
trying to use?
See uclibc.org/FAQ#upstream_versions
We support the last two official upstream versions of binutils/gcc, so
that'd be binutils >= 2.20.latest and gcc-4.5.latest (i usually use both
HEADs plus eventual fixups/tweaks myself).
angstrom-2008.1.conf mentions 2.18 which is definitely way too old for
uClibc master by now, fyi.
> libpthread/nptl/sysdeps/unix/sysv/linux/close.S: Assembler messages:
> libpthread/nptl/sysdeps/unix/sysv/linux/close.S:9: Error: unknown pseudo-op: `.cfi_sections'
> make: *** [libpthread/nptl/sysdeps/unix/sysv/linux/open.o] Error 1
> make: *** Waiting for unfinished jobs....
> make: *** [libpthread/nptl/sysdeps/unix/sysv/linux/close.o] Error 1
> libpthread/nptl/sysdeps/unix/sysv/linux/jmp-unwind.c:29: warning: no previous prototype for '_longjmp_unwind'
> FATAL: oe_runmake failed
>
>The full log is attached compressed. Uncompressed it was 1.7 MB big.
>
>
>Thanks,
>
>Paul
>_______________________________________________
>Openembedded-devel mailing list
>Openembedded-devel@lists.openembedded.org
>http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2010-07-17 11:20 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-07-14 18:44 angstrom 2008.1, uclibc: libc.so not found, i. e. not in staging directory Paul Menzel
2010-07-14 19:48 ` Henning Heinold
2010-07-15 17:52 ` uclibc-git: oe_runmake failed: error: '__a1' undeclared (first use in this function) (was: angstrom 2008.1, uclibc: libc.so not found, i. e. not in staging directory) Paul Menzel
2010-07-15 19:48 ` Henning Heinold
2010-07-15 20:02 ` Khem Raj
2010-07-15 20:16 ` Henning Heinold
2010-07-17 8:56 ` angstrom-2008.1, uclibc-git: oe_runmake failed: Error: unknown pseudo-op: `.cfi_sections' (was: oe_runmake failed: error: '__a1' undeclared (first use in this function)) Paul Menzel
2010-07-17 11:20 ` Bernhard Reutner-Fischer
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox