f build dies with: undefined reference to `lookup_name'
Andrew Cagney
cagney@mac.com
Wed Mar 6 06:54:00 GMT 2002
Hello,
I'm trying to get some patches committed but am finding that my build
dies in while building fortran with:
gcc -DIN_GCC -g -O -W -Wall -Wwrite-strings -Wstrict-prototypes
-Wmissing-prototypes -Wtraditional -pedantic -Wno-long-long
-DHAVE_CONFIG_H -o f771 f/bad.o f/bit.o f/bld.o f/com.o f/data.o
f/equiv.o f/expr.o f/global.o f/implic.o f/info.o f/intrin.o f/lab.o
f/lex.o f/malloc.o f/name.o f/parse.o f/src.o f/st.o f/sta.o f/stb.o
f/stc.o f/std.o f/ste.o f/storag.o f/stp.o f/str.o f/sts.o f/stt.o
f/stu.o f/stv.o f/stw.o f/symbol.o f/target.o f/top.o f/type.o
f/version.o f/where.o main.o libbackend.a ../libiberty/libiberty.a
libbackend.a(varasm.o): In function `weak_finish':
/home/scratch/PENDING/GCC-2002-02-02-switch-default/gcc/gcc/varasm.c:5111:
undefined reference to `lookup_name'
on a powerpc-unknown-netbsd1.5ZA native build.
I suspect this change:
2002-03-01 Alan Modra <amodra@bigpond.net.au>
David Edelsohn <edelsohn@gnu.org>
.....
(weak_finish): Use ASM_WEAKEN_DECL. Try to find decl.
(remove_from_pending_weak_list): Declare and define for
ASM_WEAKEN_DECL.
Andrew
More information about the Gcc-patches
mailing list