[parisc-linux] Build failures close in at the cusp of being done.

Joel Soete soete.joel at tiscali.be
Wed Apr 12 10:33:56 MDT 2006


> 1. Checkout mainline binutils.
> 2. Merge our tls patches locally.
> 3. Checkout mainline gcc.
> 4. Checkout libc, libc-port, linuxthreads.
> 5. Merge our TLS patches into binutils locally (only tls, not opd).
> 6. Build and install binutils.
> 7. Build and install gcc with the newly installed binutils.
> 8. Build glibc with the newly installed binutils and gcc.
> 
> We are getting close!
> ~~~~~~~~~~~~~~~~~~~~~
> /home/carlos/fsrc/glibc-work/builds/libc/libc_pic.os: In function `__getcwd':
> ../sysdeps/unix/sysv/linux/getcwd.c:90: undefined reference to `MAX'
> /home/carlos/fsrc/glibc-work/builds/libc/libc_pic.os: In function `inet_ntoa':
> /mnt/flaire/src/glibc-work/src/libc/inet/inet_ntoa.c:35: undefined
> reference to `__tls_get_addr'
> collect2: ld returned 1 exit status
> make[1]: *** [/home/carlos/fsrc/glibc-work/builds/libc/libc.so] Error 1
> make[1]: Leaving directory `/mnt/flaire/src/glibc-work/src/libc'
> make: *** [all] Error 2
> ~~~~~~~~~~~~~~~~~~~~~
> 
Cool ;-)

> I double checked we had a __tls_get_addr definition for our
> libc-tls.c, but it looks like the function might be miscompiled. Any
> hints are appreciated. I'm utterly puzzled by the missing definition
> of MAX, which should be a macro. It looks like I missed some implied
> includes.
> 
this macro?
./stdlib/gmp-impl.h:#define MAX(h,i) ((h) > (i) ? (h) : (i))

Thanks,
    Joel

----------
Wordt ook lid van de Scarlet Club via een bestaande Scarlet klant en ontvang cadeaucheques twv EUR 50! Bezoek snel http://www.scarletclub.be
Devenez aussi membre du Club Scarlet via un client Scarlet existant et recevez des cheques cadeaux jusqu'a EUR 50! Surfez vite sur http://www.clubscarlet.be




More information about the parisc-linux mailing list