[Bug fortran/38268] gfortran doesn't link any 64 bits binaries on Solaris
ebotcazou at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Wed Dec 3 09:14:00 GMT 2008
------- Comment #8 from ebotcazou at gcc dot gnu dot org 2008-12-03 09:12 -------
> gcc -g -fkeep-inline-functions -DIN_GCC -W -Wall -Wwrite-strings
> -Wstrict-prototypes -Wmissing-prototypes -Wcast-qual -Wold-style-definition
> -Wc++-compat -Wmissing-format-attribute -pedantic -Wno-long-long
> -Wno-variadic-macros -Wno-overlength-strings -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 sol2-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 -lintl -liconv
> ../libiberty/libiberty.a ../libdecnumber/libdecnumber.a -L/usr/lib -L/usr/lib
> -lmpfr -lgmp -L/usr/lib -L/usr/lib -lmpfr -lgmp
> Undefined first referenced
> symbol in file
> libintl_gettext c-decl.o
> libintl_textdomain libbackend.a(intl.o)
> libintl_bindtextdomain libbackend.a(intl.o)
> libintl_dgettext ../libcpp/libcpp.a(errors.o)
> ld: fatal: Symbol referencing errors. No output written to cc1-dummy
> collect2: ld returned 1 exit status
> gnu-make[3]: *** [cc1-dummy] Error 1
> gnu-make[3]: Leaving directory `/home/delisle/gcc/obj44/gcc'
> gnu-make[2]: *** [all-stage1-gcc] Error 2
> gnu-make[2]: Leaving directory `/home/delisle/gcc/obj44'
> gnu-make[1]: *** [stage1-bubble] Error 2
> gnu-make[1]: Leaving directory `/home/delisle/gcc/obj44'
> gnu-make: *** [all] Error 2
Ah, yes, this is a classical one, see PR bootstrap/12482. You can work around
it by passing --disable-nls to the configure script.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38268
More information about the Gcc-bugs
mailing list