"make buildworld" fails with gcc34 on CURRENT.

Henry Kleynhans henry at obsidian.co.za
Thu Aug 26 05:04:29 PDT 2004


Hi all,

"make buildworld" fails with gcc34 on CURRENT (updated 2004-08-26).

I've tried the build with:
a) only the environment variable set (setenv CCVER gcc34)
b) only the make.conf variable set (CCVER=gcc34 and CCVER?=gcc34)
c) with both the environment variable and the make.conf variable set.
d) the optimization flags were set to "CFLAGS=-O2 -pipe"
e) I've tried it with both CPUTYPE defined and not defined.
buildworld with the gcc2 compiler on the other hand works fine.

Here is the message I get:

<snip>

cc -nostdlib -static -Ttext 0x0 -o loader.sym 
/usr/obj/usr/src/world_i386/usr/src/sys/boot/i386/loader/../btx/lib/crt0.o 
main.o conf.o bcache.o boot.o commands.o console.o devopen.o interp.o 
interp_backslash.o interp_parse.o ls.o misc.o module.o panic.o 
load_elf32.o load_elf64.o isapnp.o pnp.o interp_forth.o vers.o 
/usr/obj/usr/src/world_i386/usr/src/sys/boot/i386/loader/../../ficl/libficl.a 
/usr/obj/usr/src/world_i386/usr/src/sys/boot/i386/loader/../libi386/libi386.a 
/usr/obj/usr/src/world_i386/usr/src/sys/boot/i386/loader/../../../../lib/libstand/libstand.a
interp_forth.o(.text+0xa): In function `bf_command':
: undefined reference to `__start_set_Xcommand_set'
interp_forth.o(.text+0x1a): In function `bf_command':
: undefined reference to `__stop_set_Xcommand_set'
interp_forth.o(.text+0x35): In function `bf_command':
: undefined reference to `__stop_set_Xcommand_set'
interp_forth.o(.text+0x5d): In function `bf_command':
: undefined reference to `__stop_set_Xcommand_set'
interp_forth.o(.text+0x2c9): In function `bf_init':
: undefined reference to `__start_set_Xcommand_set'
interp_forth.o(.text+0x31c): In function `bf_init':
: undefined reference to `__stop_set_Xcommand_set'
interp_forth.o(.text+0x3af): In function `bf_init':
: undefined reference to `__stop_set_Xcommand_set'
*** Error code 1

Stop in /usr/src/sys/boot/i386/loader.
*** Error code 1
Stop in /usr/src/sys/boot/i386.
*** Error code 1
Stop in /usr/src/sys/boot.
*** Error code 1
Stop in /usr/src/sys.
*** Error code 1
Stop in /usr/src.
*** Error code 1
Stop in /usr/src.
*** Error code 1
Stop in /usr/src.

</snip>

Kind regards,

Henry





More information about the Bugs mailing list