| Summary: | [0.9.32-git regression] build problem: infinite loop spawning 'make' | ||
|---|---|---|---|
| Product: | uClibc | Reporter: | Douglas <dougmencken> |
| Component: | Other | Assignee: | Carmelo Amoroso <carmelo.amoroso> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | uclibc-cvs |
| Priority: | P3 | ||
| Version: | 0.9.32 | ||
| Target Milestone: | 0.9.32 | ||
| Hardware: | Other | ||
| OS: | Linux | ||
| Host: | powerpc-gnu-linux-uclibc | Target: | powerpc-gnu-linux-uclibc |
| Build: | powerpc-gnu-linux-uclibc | ||
| Attachments: |
uClibc .config file I used for all these builds
Proposed patch |
||
|
Description
Douglas
2010-04-25 08:49:32 UTC
Created attachment 1567 [details]
uClibc .config file I used for all these builds
Hi, the problem is real, and occurs when pregen-headers-y is empty. Working to fix. Created attachment 1573 [details]
Proposed patch
Hi,
please git a try with this patch and let us to know. It worked for me.
Carmelo Amoroso , tried your patch against the latest current git maaster (0_9_30_rc3-998-g50d664a; full commit sha1 is 50d664a757b7a5ef1fd536ec00ea552ad9290315) and... It builds okay! But... not really so well, because rm -f lib/libc.so lib/libc.so.0 lib/libuClibc-0.9.32-git.so gcc -Wl,-EB -shared -Wl,--warn-common -Wl,--warn-once -Wl,-z,combreloc -Wl,-z,relro -Wl,--hash-style=gnu -Wl,-z,defs -Wl,-s -Wl,-init,__uClibc_init -Wl,-soname=libc.so.0 -nostdlib -o lib/libuClibc-0.9.32-git.so -Wl,--whole-archive libc/libc_so.a -Wl,--no-whole-archive ./lib/interp.os ./lib/ld-uClibc.so.0 ./lib/uclibc_nonshared.a /usr/lib/gcc/powerpc-gnu-linux-uclibc/4.4.3/libgcc.a libc/libc_so.a(opendir.os): In function `opendir': opendir.c:(.text+0x154): undefined reference to `__fcntl_nocancel' collect2: ld returned 1 exit status make: *** [lib/libc.so] Error 1 But this is definitely an another bug. Hey Doug, The PPC nptl support has not been merged yet, so there are some missing functions that are affecting even your non NPTL build. We'll try to get that merged in this week to fix this. (In reply to comment #4) > Carmelo Amoroso , tried your patch against the latest current git maaster > (0_9_30_rc3-998-g50d664a; full commit sha1 is > 50d664a757b7a5ef1fd536ec00ea552ad9290315) and... It builds okay! > That's fine, so the original issue have been fixed. Regarding the other problem you encountered, refer to Austin's comment #6. Hey Doug, I just pushed a fix for your __fcntl_nocancel problem, go ahead and give it a try. If you run into more problems, please file a new bug. Thanks! Just single well ignorable waring now: CC libc/misc/dirent/opendir.os libc/misc/dirent/opendir.c: In function 'opendir': libc/misc/dirent/opendir.c:106:2: warning: implicit declaration of function '__fcntl_nocancel' nptl_merge-2-g00891d9 (00891d9cf07efd992023f255164bba93d657ece4) builds perfectly without any problem Big thank you, guys! You also give the fastest repsonse to bug reports ;) |