This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [RFA] Emit DWARF for template parameters (PR debug/30161)
- From: Simon Martin <simartin at users dot sourceforge dot net>
- To: Dodji Seketeli <dodji at redhat dot com>
- Cc: Jason Merrill <jason at redhat dot com>, Gcc Patch List <gcc-patches at gcc dot gnu dot org>
- Date: Tue, 01 Sep 2009 08:33:59 +0200
- Subject: Re: [RFA] Emit DWARF for template parameters (PR debug/30161)
- References: <4A8465BB.7060101@redhat.com> <4A857317.4060601@redhat.com> <4A8CF382.4020704@redhat.com>
Hello Dodji,
This breaks bootstrap on Darwin, with
gcc-4.2 -arch x86_64 -m64 -g -fkeep-inline-functions -DIN_GCC -W
-Wall -Wwrite-strings -Wcast-qual -Wstrict-prototypes
-Wmissing-prototypes -Wmissing-format-attribute -pedantic -Wno-long-long
-Wno-variadic-macros -Wno-overlength-strings -Wold-style-definition
-Wc++-compat -fno-common -DHAVE_CONFIG_H -o cc1-dummy c-lang.o
stub-objc.o attribs.o c-errors.o c-lex.o c-pragma.o c-decl.o c-typeck.o
c-convert.o c-aux-info.o c-common.o c-opts.o c-format.o c-semantics.o
c-ppoutput.o c-cppbuiltin.o c-objc-common.o c-dump.o c-pch.o c-parser.o
i386-c.o darwin-c.o c-gimplify.o tree-mudflap.o c-pretty-print.o c-omp.o \
dummy-checksum.o main.o tree-browser.o libbackend.a
../libcpp/libcpp.a ../libdecnumber/libdecnumber.a ../libcpp/libcpp.a
./../intl/libintl.a -liconv ../libiberty/libiberty.a
../libdecnumber/libdecnumber.a -L/Users/simon/Dev/tools/lib -lcloog
-L/Users/simon/Dev/tools/lib -lppl_c -lppl -lgmpxx
-L/Users/simon/Dev/tools/lib -lmpc -L/Users/simon/Dev/tools/lib
-L/Users/simon/Dev/tools/lib -lmpfr -lgmp
Undefined symbols:
"_strnlen", referenced from:
_make_ith_pack_parameter_name in libbackend.a(dwarf2out.o)
It looks like 'strnlen' is not available available on Darwin.
Best regards,
Simon