Re: lang/gcc34 broken on 8-current?!?!?

2007-10-19 Thread Scot Hetzel
I had this same problem.  There is an error in the
freebsd-spec.h file which causes __FreeBSD__ to be
defined twice when FBSD_MAJOR=8.  This is caused by
a missing 'else' before the 'if (FBSD_MAJOR == 7)'
statement.

See PR 117287 for the fix.

If you have devel/gccxml installed, you'll also
need PR 117289.

Scot

On 10/19/07, Aryeh M. Friedman [EMAIL PROTECTED] wrote:
 FreeBSD monster 8.0-CURRENT FreeBSD 8.0-CURRENT #1: Thu Oct 18 20:17:48
 UTC 2007 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/MONSTER  amd64


 mv tmp-libgcc.mk libgcc.mk
 TARGET_CPU_DEFAULT= \
 HEADERS=ansidecl.h DEFINES= \
 /bin/sh .././..//gcc-3.4.6/gcc/mkconfig.sh tconfig.h
 ./xgcc -B./ -B/usr/local/x86_64-portbld-freebsd8.0/bin/ -isystem
 /usr/local/x86_64-portbld-freebsd8.0/include -isystem
 /usr/local/x86_64-portbld-freebsd8.0/sys-include
 -L/usr/ports/lang/gcc34/work/build/gcc/../ld -O2 -DIN_GCC-W -Wall
 -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes
 -Wold-style-definition  -isystem ./include  -I. -I.
 -I.././..//gcc-3.4.6/gcc -I.././..//gcc-3.4.6/gcc/.
 -I.././..//gcc-3.4.6/gcc/../include   -g0 -finhibit-size-directive
 -fno-inline-functions -fno-exceptions -fno-zero-initialized-in-bss
 -fno-unit-at-a-time  \
-c .././..//gcc-3.4.6/gcc/crtstuff.c -DCRT_BEGIN \
   -o crtbegin.o
 built-in:78:1: warning: __FreeBSD__ redefined
 built-in:77:1: warning: this is the location of the previous definition
 In file included from .././..//gcc-3.4.6/gcc/tsystem.h:44,
  from .././..//gcc-3.4.6/gcc/crtstuff.c:62:
 ./include/stddef.h:57:26: machine/ansi.h: No such file or directory
 gmake[2]: *** [crtbegin.o] Error 1
 gmake[2]: Leaving directory `/usr/ports/lang/gcc34/work/build/gcc'
 gmake[1]: *** [stage1_build] Error 2
 gmake[1]: Leaving directory `/usr/ports/lang/gcc34/work/build/gcc'
 gmake: *** [bootstrap-lean] Error 2
 *** Error code 2


 ___
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-current
 To unsubscribe, send any mail to [EMAIL PROTECTED]

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


lang/gcc34 broken on 8-current?!?!?

2007-10-19 Thread Aryeh M. Friedman
FreeBSD monster 8.0-CURRENT FreeBSD 8.0-CURRENT #1: Thu Oct 18 20:17:48
UTC 2007 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/MONSTER  amd64


mv tmp-libgcc.mk libgcc.mk
TARGET_CPU_DEFAULT= \
HEADERS=ansidecl.h DEFINES= \
/bin/sh .././..//gcc-3.4.6/gcc/mkconfig.sh tconfig.h
./xgcc -B./ -B/usr/local/x86_64-portbld-freebsd8.0/bin/ -isystem
/usr/local/x86_64-portbld-freebsd8.0/include -isystem
/usr/local/x86_64-portbld-freebsd8.0/sys-include
-L/usr/ports/lang/gcc34/work/build/gcc/../ld -O2 -DIN_GCC-W -Wall
-Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes
-Wold-style-definition  -isystem ./include  -I. -I.
-I.././..//gcc-3.4.6/gcc -I.././..//gcc-3.4.6/gcc/.
-I.././..//gcc-3.4.6/gcc/../include   -g0 -finhibit-size-directive
-fno-inline-functions -fno-exceptions -fno-zero-initialized-in-bss
-fno-unit-at-a-time  \
   -c .././..//gcc-3.4.6/gcc/crtstuff.c -DCRT_BEGIN \
  -o crtbegin.o
built-in:78:1: warning: __FreeBSD__ redefined
built-in:77:1: warning: this is the location of the previous definition
In file included from .././..//gcc-3.4.6/gcc/tsystem.h:44,
 from .././..//gcc-3.4.6/gcc/crtstuff.c:62:
./include/stddef.h:57:26: machine/ansi.h: No such file or directory
gmake[2]: *** [crtbegin.o] Error 1
gmake[2]: Leaving directory `/usr/ports/lang/gcc34/work/build/gcc'
gmake[1]: *** [stage1_build] Error 2
gmake[1]: Leaving directory `/usr/ports/lang/gcc34/work/build/gcc'
gmake: *** [bootstrap-lean] Error 2
*** Error code 2


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]