This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
gcc-ss-20010521 build dies on SCO Openserver 5.0.4
- To: gcc at gcc dot gnu dot org
- Subject: gcc-ss-20010521 build dies on SCO Openserver 5.0.4
- From: David Gressett <gresset1 at airmail dot net>
- Date: Fri, 25 May 2001 16:50:51 -0500
The offender is unwind-dw2.c:
./xgcc -B./ -B/usr/local/i386-pc-sco3.2v5.0.4/bin/ -isystem
/usr/local/i386-pc-sco3.2v5.0.4/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../../gcc-ss-20010521/gcc -I../../gcc-ss-20010521/gcc/.
-I../../gcc-ss-20010521/gcc/config -I../../gcc-ss-20010521/gcc/../include
-fexceptions -c ../../gcc-ss-20010521/gcc/unwind-dw2.c -o libgcc/./unwind-dw2.o
../../gcc-ss-20010521/gcc/unwind-dw2.c: In function `extract_cie_info':
../../gcc-ss-20010521/gcc/unwind-dw2.c:219: warning: implicit declaration
of function `strlen'
../../gcc-ss-20010521/gcc/unwind-dw2.c: In function `execute_stack_op':
../../gcc-ss-20010521/gcc/unwind-dw2.c:300: warning: `result' might be used
uninitialized in this function
../../gcc-ss-20010521/gcc/unwind-dw2.c: In function `execute_cfa_program':
../../gcc-ss-20010521/gcc/unwind-dw2.c:775: warning: implicit declaration
of function `alloca'
../../gcc-ss-20010521/gcc/unwind-dw2.c: In function `uw_frame_state_for':
../../gcc-ss-20010521/gcc/unwind-dw2.c:886: warning: implicit declaration
of function `memset'
../../gcc-ss-20010521/gcc/unwind-dw2.c: In function `uw_install_context_1':
../../gcc-ss-20010521/gcc/unwind-dw2.c:1103: warning: implicit declaration
of function `memcpy'
/usr/tmp/ccgziuIW.s:2800:defined relocatable values from the same section
required, op -
/usr/tmp/ccgziuIW.s:2823:defined relocatable values from the same section
required, op -
... more of the same snipped ...
/usr/tmp/ccgziuIW.s:3331:defined relocatable values from the same section
required, op -
/usr/tmp/ccgziuIW.s:3370:defined relocatable values from the same section
required, op -
make[3]: *** [libgcc/./unwind-dw2.o] Error 1
This looks like a fairly simple patch should fix the problem, but I am not
anywhere near familiar enough with the source code to know what to patch.
I am using gcc 2.95.3 to build.