[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

gcc-3.0 question...



Oh Great Guru Kettenis, =)

2 GCCish questions have to come up:

1) configure appears to take --enable-threads=mach, but I can't find a
matching gthr-mach.h file for it.  Is this a safe option, or should I
ask the Debian maintainer to not enable threads for the Hurd?

I don't think it's worth writing a file for cthreads for now.

2) I am getting a failure while compiling GCC:

./xgcc -B./ -B/usr/i386-gnu/bin/ -isystem /usr/i386-gnu/include -O2   -DIN_GCC    -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -isystem ./include  -fPIC -g1  -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED  -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/config -I../../src/gcc/../include -fexceptions -c ../../src/gcc/unwind-dw2.c -o libgcc/./unwind-dw2.o
../../src/gcc/unwind-dw2.c: In function `execute_stack_op':
../../src/gcc/unwind-dw2.c:300: warning: `result' might be used uninitialized in this function
../../src/gcc/unwind-dw2.c: In function `uw_frame_state_for':
../../src/gcc/unwind-dw2.c:897: structure has no member named `esp'
../../src/gcc/unwind-dw2.c:897: structure has no member named `eax'
../../src/gcc/unwind-dw2.c:897: structure has no member named `ebx'
../../src/gcc/unwind-dw2.c:897: structure has no member named `ecx'
../../src/gcc/unwind-dw2.c:897: structure has no member named `edx'
../../src/gcc/unwind-dw2.c:897: structure has no member named `esi'
../../src/gcc/unwind-dw2.c:897: structure has no member named `edi'
../../src/gcc/unwind-dw2.c:897: structure has no member named `ebp'
../../src/gcc/unwind-dw2.c:897: structure has no member named `eip'
../../src/gcc/unwind-dw2.c:897: warning: `new_cfa_' might be used uninitialized in this function
make[5]: *** [libgcc/./unwind-dw2.o] Error 1

The relevant line is:

      MD_FALLBACK_FRAME_STATE_FOR (context, fs, success);

This macro is provided by config/i386/linux.h, line 240.  This file is
included by tm.h, as requested in config.gcc.

Unfortunetly, I have no idea what the code does. =)  Help?

(If I should give more information, please let me know so I can give
better bug reports to you while I'm doing this)

Tks,
Jeff Bailey



Reply to: