kernel-toolchain fails in stable/9 build on head

Andriy Gapon avg at FreeBSD.org
Fri Oct 23 11:18:47 UTC 2015


[sorry for top-posting *again*]
Just for the records, doing `make make` and then using the resulting make binary
seems to have solved the problems.

On 23/10/2015 13:27, Andriy Gapon wrote:
> 
> Oh, hrrm:
> 
> --- libbackend.a ---
> building static backend library
> nm: 'print-rtl.o': No such file or directory
> nm: 'rtl.o': No such file or directory
> nm: 'vec.o': No such file or directory
> ar: warning: can't open file: vec.o: No such file or directory
> ar: warning: can't open file: rtl.o: No such file or directory
> ar: warning: can't open file: print-rtl.o: No such file or directory
> ranlib libbackend.a
> 
> That's with -j4 during another attempt to build the same target.
> 
> On 23/10/2015 12:46, Andriy Gapon wrote:
>>
>> $ make kernel-toolchain
>> ...
>> ===> gnu/usr.bin/cc/cc_tools (depend)
>> make[4]: "/usr/devel/svn/stable/9/share/mk/bsd.own.mk" line 233: warning:
>> unsetting WITH_CTF
>> cc -O2 -pipe -O2 -fno-strict-aliasing -pipe -fno-omit-frame-pointer -I.
>> -DGCCVER=\"4.2\" -DIN_GCC -DHAVE_CONFIG_H
>> -DPREFIX=\"/usr/obj/usr/devel/svn/stable/9/tmp/usr\"
>> -I/usr/obj/usr/devel/svn/stable/9/tmp/usr/devel/svn/stable/9/gnu/usr.bin/cc/cc_tools/../cc_tools
>> -I/usr/devel/svn/stable/9/gnu/usr.bin/cc/cc_tools/../cc_tools
>> -I/usr/devel/svn/stable/9/gnu/usr.bin/cc/cc_tools/../../../../contrib/gcc
>> -I/usr/devel/svn/stable/9/gnu/usr.bin/cc/cc_tools/../../../../contrib/gcc/config
>> -I/usr/devel/svn/stable/9/gnu/usr.bin/cc/cc_tools/../../../../contrib/gcclibs/include
>> -I/usr/devel/svn/stable/9/gnu/usr.bin/cc/cc_tools/../../../../contrib/gcclibs/libcpp/include
>> -I/usr/devel/svn/stable/9/gnu/usr.bin/cc/cc_tools/../../../../contrib/gcclibs/libdecnumber
>> -g -DGENERATOR_FILE -DHAVE_CONFIG_H -g -std=gnu89
>> -I/usr/obj/usr/devel/svn/stable/9/tmp/legacy/usr/include  -static
>> -L/usr/obj/usr/devel/svn/stable/9/tmp/legacy/usr/lib -o genattrtab genattrtab.o
>> rtl.o read-rtl.o ggc-none.o vec.o min-insn-modes.o gensupport.o print-rtl.o
>> errors.o libiberty.a -lm
>> print-rtl.o: In function `print_rtx':
>> /usr/devel/svn/stable/9/gnu/usr.bin/cc/cc_int/../../../../contrib/gcc/print-rtl.c:287:
>> undefined reference to `dump_addr'
>> /usr/devel/svn/stable/9/gnu/usr.bin/cc/cc_int/../../../../contrib/gcc/print-rtl.c:533:
>> undefined reference to `bitmap_print'
>> /usr/devel/svn/stable/9/gnu/usr.bin/cc/cc_int/../../../../contrib/gcc/print-rtl.c:268:
>> undefined reference to `print_node_brief'
>> /usr/devel/svn/stable/9/gnu/usr.bin/cc/cc_int/../../../../contrib/gcc/print-rtl.c:540:
>> undefined reference to `dump_addr'
>> /usr/devel/svn/stable/9/gnu/usr.bin/cc/cc_int/../../../../contrib/gcc/print-rtl.c:415:
>> undefined reference to `insn_file'
>> /usr/devel/svn/stable/9/gnu/usr.bin/cc/cc_int/../../../../contrib/gcc/print-rtl.c:416:
>> undefined reference to `insn_file'
>> /usr/devel/svn/stable/9/gnu/usr.bin/cc/cc_int/../../../../contrib/gcc/print-rtl.c:416:
>> undefined reference to `insn_line'
>> /usr/devel/svn/stable/9/gnu/usr.bin/cc/cc_int/../../../../contrib/gcc/print-rtl.c:434:
>> undefined reference to `reg_names'
>> /usr/devel/svn/stable/9/gnu/usr.bin/cc/cc_int/../../../../contrib/gcc/print-rtl.c:588:
>> undefined reference to `real_to_decimal'
>> /usr/devel/svn/stable/9/gnu/usr.bin/cc/cc_int/../../../../contrib/gcc/print-rtl.c:592:
>> undefined reference to `real_to_hexadecimal'
>> /usr/devel/svn/stable/9/gnu/usr.bin/cc/cc_int/../../../../contrib/gcc/print-rtl.c:573:
>> undefined reference to `mode_size'
>> /usr/devel/svn/stable/9/gnu/usr.bin/cc/cc_int/../../../../contrib/gcc/print-rtl.c:575:
>> undefined reference to `mode_size'
>> cc: error: linker command failed with exit code 1 (use -v to see invocation)
>> *** Error code 1
>>
> 
> 


-- 
Andriy Gapon


More information about the freebsd-current mailing list