This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Tree-SSA failure on FreeBSD 4.8-STABLE
- From: linus at alcom dot aland dot fi (Linus Sjöberg)
- To: gcc at gcc dot gnu dot org
- Cc: law at redhat dot com
- Date: 17 Jul 2003 14:52:36 +0300
- Subject: Re: Tree-SSA failure on FreeBSD 4.8-STABLE
- References: <200306301602.h5UG2dtN001858@speedy.slc.redhat.com>
law@redhat.com writes:
> In message <o0isqny8w3.fsf@hal9000.alcom.aland.fi>, =?iso-8859-1?q?Linus_Sj=F6berg?= writes:
> Can you recompile this file, adding the option "-save-temps" and send the
> resulting .i file? That will make it a lot easier for us to fix this problem.
Today i cvs up:d and I am still having the same build problems:
/stuff/gcc.obj/gcc/xgcc -B/stuff/gcc.obj/gcc/ -B/stuff/gcc.install/i386-unknown-freebsd4.8/bin/ -B/stuff/gcc.install/i386-unknown-freebsd4.8/lib/ -isystem /stuff/gcc.install/i386-unknown-freebsd4.8/include -isystem /stuff/gcc.install/i386-unknown-freebsd4.8/sys-include -DHAVE_CONFIG_H -I. -I../../../gcc/libmudflap -I. -O2 -g -O2 -Wall -O2 -g -O2 -DWRAP_recv -c ../../../gcc/libmudflap/mf-hooks2.c -fPIC -DPIC -o .libs/recv-hook.o
In file included from ../../../gcc/libmudflap/mf-hooks2.c:1155:
/usr/include/sys/socket.h:52: error: parse error before "sa_family_t"
/usr/include/sys/socket.h:163: error: parse error before "u_char"
/usr/include/sys/socket.h:166: error: parse error before '}' token
/usr/include/sys/socket.h:174: error: parse error before "u_short"
/usr/include/sys/socket.h:188: error: parse error before "u_char"
/usr/include/sys/socket.h:190: error: `u_char' undeclared here (not in a function)
/usr/include/sys/socket.h:193: error: parse error before '}' token
/usr/include/sys/socket.h:399: error: parse error before "u_short"
/usr/include/sys/socket.h:401: error: parse error before '}' token
gmake[3]: *** [recv-hook.lo] Fel 1
The rest of the problems described in http://gcc.gnu.org/ml/gcc/2003-06/msg02511.html
remains as well.
As before undefing _POSIX_SOURCE, WRAP_stat64, WRAP_fseeko64, WRAP_ftello64 and
WRAP_semctl makes everything build as a charm.
[linus@hal9000 ~]$ /stuff/gcc.obj/gcc/xgcc -v
Using built-in specs.
Configured with: ../gcc/configure --prefix=/stuff/gcc.install
Thread model: posix
gcc version 3.5-tree-ssa 20030717 (merged 20030525)
[linus@hal9000 ~]$ uname -a
FreeBSD hal9000.alcom.aland.fi 4.8-STABLE FreeBSD 4.8-STABLE #5: Fri Jul 4 11:24:45 EEST 2003 root@hal9000.alcom.aland.fi:/usr/obj/usr/src/sys/HAL i386
[linus@hal9000 ~]$
/LS