On Tue, Aug 16, 2011 at 4:49 PM, Cliff Brake <cliff.br...@gmail.com> wrote: > On Tue, Aug 16, 2011 at 4:03 PM, Khem Raj <raj.k...@gmail.com> wrote: >> On Tue, Aug 16, 2011 at 12:44 PM, Phil Blundell <ph...@gnu.org> wrote: >>> On Tue, 2011-08-16 at 15:32 -0400, Cliff Brake wrote: >>>> | ../libcpp/libcpp.a(files.o): In function `validate_pch': >>>> | files.c:(.text+0x1978): undefined reference to `fprintf_unlocked' >>>> | ../libcpp/libcpp.a(line-map.o): In function `linemap_check_files_exited': >>>> | line-map.c:(.text+0xfa): undefined reference to `fprintf_unlocked' >>>> | ../libcpp/libcpp.a(line-map.o): In function `linemap_add': >>>> | line-map.c:(.text+0x258): undefined reference to `fprintf_unlocked' >>>> | line-map.c:(.text+0x308): undefined reference to `fprintf_unlocked' >>>> | ../libcpp/libcpp.a(symtab.o): In function `ht_dump_statistics': >>>> | symtab.c:(.text+0x1cc): undefined reference to `fprintf_unlocked' >>> >>> That looks rather like something is wrong with your host's build >>> environment. Apparently gcc has decided that you have fprintf_unlocked >>> and using it would be a good idea. AFAIK, there are no glibcs in the >>> wild which do actually implement fprintf_unlocked so it seems that gcc >>> must be mistaken in its belief. >>> >>> I think you might need to do a bit of poking at config.log to see what's >>> up. >>> >> >> Do you have eglibc-nativesdk staged ? > > No, if I try to bitbake eglibc-nativesdk, it fails trying to compile > gcc-cross-initial_4.5.
gcc -isystem/scratch/pp/pp-oe-2011/build/tmp-angstrom_2010_x-eglibc/sysroots/x86_64-linux/usr/include -O2 -pipe -DIN_GCC -DCROSS_DIRECTORY_STRUCTURE -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 -DHAVE_CONFIG_H -L/scratch/pp/pp-oe-2011/build/tmp-angstrom_2010_x-eglibc/sysroots/x86_64-linux/usr/lib -Wl,-rpath-link,/scratch/pp/pp-oe-2011/build/tmp-angstrom_2010_x-eglibc/sysroots/x86_64-linux/usr/lib -Wl,-rpath,/scratch/pp/pp-oe-2011/build/tmp-angstrom_2010_x-eglibc/sysroots/x86_64-linux/usr/lib -Wl,-O1 -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 arm-c.o c-gimplify.o tree-mudflap.o c-pretty-print.o c-omp.o \ dummy-checksum.o main.o libbackend.a ../libcpp/libcpp.a ../libdecnumber/libdecnumber.a ../libcpp/libcpp.a ../libiberty/libiberty.a ../libdecnumber/libdecnumber.a -lmpc -lmpfr -lgmp -rdynamic -ldl -L../zlib -lz -lelf gcc -isystem/scratch/pp/pp-oe-2011/build/tmp-angstrom_2010_x-eglibc/sysroots/x86_64-linux/usr/include -O2 -pipe -DIN_GCC -DCROSS_DIRECTORY_STRUCTURE -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 -DHAVE_CONFIG_H -L/scratch/pp/pp-oe-2011/build/tmp-angstrom_2010_x-eglibc/sysroots/x86_64-linux/usr/lib -Wl,-rpath-link,/scratch/pp/pp-oe-2011/build/tmp-angstrom_2010_x-eglibc/sysroots/x86_64-linux/usr/lib -Wl,-rpath,/scratch/pp/pp-oe-2011/build/tmp-angstrom_2010_x-eglibc/sysroots/x86_64-linux/usr/lib -Wl,-O1 -o lto1 \ lto/lto-lang.o lto/lto.o lto/lto-elf.o attribs.o main.o libbackend.a ../libcpp/libcpp.a ../libdecnumber/libdecnumber.a -lmpc -lmpfr -lgmp -rdynamic -ldl -L../zlib -lz -lelf ../libcpp/libcpp.a ../libiberty/libiberty.a ../libdecnumber/libdecnumber.a -lelf ../libcpp/libcpp.a(line-map.o): In function `linemap_check_files_exited': line-map.c:(.text+0xfa): undefined reference to `fprintf_unlocked' ls /scratch/pp/pp-oe-2011/build/tmp-angstrom_2010_x-eglibc/sysroots/x86_64-linux/usr/include bzlib.h cursesapp.h cursesm.h cursslk.h eti.h expat.h gelf.h libelf.h ltdl.h mpf2mpfr.h ncurses_dll.h openssl readline termcap.h tic.h zlibdefs.h crypto cursesf.h cursesp.h dwarf.h etip.h FlexLexer.h gettext-po.h libltdl menu.h mpfr.h ncurses.h panel.h sqlite3ext.h term_entry.h unctrl.h zlib.h curses-64.h curses.h cursesw.h elfutils expat_external.h form.h gmp.h libxml2 mpc.h nc_tparm.h nlist.h python2.6 sqlite3.h term.h zconf.h eglibc header files are staged it appears. Cliff -- ================= http://bec-systems.com _______________________________________________ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel