[LLVMdev] llvm-gcc fortran bootstrap broken
Bill Wendling
wendling at apple.com
Wed Jul 30 11:43:27 PDT 2008
On Jul 30, 2008, at 11:39 AM, Duncan Sands wrote:
> On Wednesday 30 July 2008 18:13:27 Duncan Sands wrote:
>> On x86-64 linux, in stage 2, I get:
>>
>> c++ -g -O2 -DIN_GCC -W -Wall -Wwrite-strings -Wstrict-
>> prototypes -Wmissing-prototypes -pedantic -Wno-long-long -Wno-
>> variadic-macros -Wno-overlength-strings -Wold-style-definition -
>> Wmissing-format-attribute -fno-common -DHAVE_CONFIG_H -o f951 \
>> fortran/arith.o fortran/array.o fortran/bbt.o
>> fortran/check.o fortran/data.o fortran/decl.o fortran/dump-parse-
>> tree.o fortran/error.o fortran/expr.o fortran/interface.o fortran/
>> intrinsic.o fortran/io.o fortran/iresolve.o fortran/match.o fortran/
>> matchexp.o fortran/misc.o fortran/module.o fortran/openmp.o fortran/
>> options.o fortran/parse.o fortran/primary.o fortran/resolve.o
>> fortran/scanner.o fortran/simplify.o fortran/st.o fortran/symbol.o
>> fortran/convert.o fortran/dependency.o fortran/f95-lang.o fortran/
>> trans.o fortran/trans-array.o fortran/trans-common.o fortran/trans-
>> const.o fortran/trans-decl.o fortran/trans-expr.o fortran/trans-
>> intrinsic.o fortran/trans-io.o fortran/trans-openmp.o fortran/trans-
>> stmt.o fortran/trans-types.o llvm-main.o tree-browser.o
>> libbackend.a ../libcpp/libcpp.a /home/duncan/LLVM/llvm-objects/
>> Debug/lib/libLLVMBitReader.a /home/duncan/LLVM/llvm-objects/Debug/
>> lib/libLLVMipo.a /home/duncan/LLVM/llvm-objects/Debug/lib/
>> libLLVMBitWriter.a /hom!
>> e/duncan/LLVM/llvm-objects/Debug/lib/LLVMX86.o /home/duncan/LLVM/
>> llvm-objects/Debug/lib/libLLVMSelectionDAG.a /home/duncan/LLVM/llvm-
>> objects/Debug/lib/libLLVMCodeGen.a /home/duncan/LLVM/llvm-objects/
>> Debug/lib/libLLVMScalarOpts.a /home/duncan/LLVM/llvm-objects/Debug/
>> lib/libLLVMTransformUtils.a /home/duncan/LLVM/llvm-objects/Debug/
>> lib/libLLVMipa.a /home/duncan/LLVM/llvm-objects/Debug/lib/
>> libLLVMAnalysis.a /home/duncan/LLVM/llvm-objects/Debug/lib/
>> libLLVMTarget.a /home/duncan/LLVM/llvm-objects/Debug/lib/
>> libLLVMCore.a /home/duncan/LLVM/llvm-objects/Debug/lib/
>> libLLVMSupport.a /home/duncan/LLVM/llvm-objects/Debug/lib/
>> libLLVMSystem.a attribs.o stub-objc.o stub-c.o -lmpfr -lgmp ../
>> libcpp/libcpp.a ../libiberty/libiberty.a ../libdecnumber/
>> libdecnumber.a -L/home/duncan/LLVM/llvm-objects/Debug/lib -
>> lpthread -ldl -lm
>> libbackend.a(dwarf2out.o): In function `add_type_attribute':
>> (.text+0x1ffb3): undefined reference to `invoke_impl_ptr_type'
>> libbackend.a(llvm-backend.o): In function `createOptimizationPasses':
>> /home/duncan/LLVM/gcc-4.2.llvm-objects/gcc/../../gcc-4.2.llvm/gcc/
>> llvm-backend.cpp:384: undefined reference to `flag_no_builtin'
>
> This one (with Ada):
> libbackend.a(dwarf2out.o): In function `modified_type_die':
> gcc/../../gcc-4.2.llvm/gcc/dwarf2out.c:8617: undefined reference to
> `c_language'
>
> ...
>
> How about something like this instead (I have no idea if this works):
>
Done. Thanks!
-bw
More information about the llvm-dev
mailing list