Package: hurd
Version: N/A
Severity: normal

Hi,

the Hurd doesn't build without optimization flag. Here is the first error:

make CC=i386-gnu-gcc CFLAGS="-g -Wall"

...

i386-gnu-gcc 
-Wl,-rpath-link=.:../libdiskfs/:../libfshelp/:../libftpconn/:../libhurdbugaddr/:../libihash/:../libiohelp/:../libnetfs/:../libpager/:../libpipe/:../libports/:../libps/:../libshouldbeinlibc/:../libstore/:../libthreads/:../libtrivfs/
 -g -Wall    -uargp_program_bug_address -o auth \               auth.o authServer.o 
auth_replyUser.o \
      '-Wl,-(' ../libhurdbugaddr/libhurdbugaddr.so ../libports/libports.so
../libthreads/libthreads.so ../libihash/libihash.so
../libshouldbeinlibc/libshouldbeinlibc.so \
                 \
      '-Wl,-)'
auth.o: In function `main':
/mnt/marcus/gnu/hurd/hurd/hurd-20000421/build-without-o/auth/../../auth/auth.c:483: 
undefined reference to `__hurd_port_set'
../libthreads/libthreads.so: undefined reference to `__hurd_self_sigstate'
../libthreads/libthreads.so: undefined reference to `__thread_stack_pointer'
collect2: ld returned 1 exit status
make[1]: *** [auth] Error 1
make[1]: Leaving directory
/mnt/marcus/gnu/hurd/hurd/hurd-20000421/build-without-o/auth'
make: *** [auth] Error 2

I noticed this when compiling my fatfs without optimization. The
diskfs_catch_exception was sucking in a __thread_stack_pointer symbol, just
like above.

Thanks,
Marcus

-- System Information
Debian Release: woody
Kernel Version: Linux ulysses 2.2.12 #7 Mon Sep 27 01:09:52 CEST 1999 i586 unknown

Reply via email to