toyoshim / naclfs

NaCl File System Library
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

return back to linker wrap because irt overwrite doesn't work with glibc #1

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
686-nacl-g++ -c -O9 -g -Wall -m32 -pthread -Isrc -o src/wrap.o src/wrap.cc
i686-nacl-g++ -c -O9 -g -Wall -m32 -pthread -Isrc -o src/naclfs.o src/naclfs.cc
i686-nacl-g++ -c -O9 -g -Wall -m32 -pthread -Isrc -o src/filesystem.o 
src/filesystem.cc
i686-nacl-g++ -c -O9 -g -Wall -m32 -pthread -Isrc -o src/port_filesystem.o 
src/port_filesystem.cc
i686-nacl-g++ -c -O9 -g -Wall -m32 -pthread -Isrc -o src/html5_filesystem.o 
src/html5_filesystem.cc
i686-nacl-g++ -c -O9 -g -Wall -m32 -pthread -Isrc -o test/naclfs_tests.o 
test/naclfs_tests.cc
test/naclfs_tests.cc: In static member function ‘static void* 
NaClFsTestsInstance::ThreadMain(void*)’:
test/naclfs_tests.cc:115: warning: format ‘%u’ expects type ‘unsigned 
int’, but argument 2 has type ‘__blksize_t’
test/naclfs_tests.cc:116: warning: format ‘%d’ expects type ‘int’, but 
argument 2 has type ‘__blkcnt64_t’
i686-nacl-g++ -O9 -g -Wall -m32 -pthread -Isrc  -o 
html/naclfs_tests_x86_32.nexe src/wrap.o src/naclfs.o src/filesystem.o 
src/port_filesystem.o src/html5_filesystem.o test/naclfs_tests.o -lppapi 
-lppapi_cpp `./bin/naclfs-config --libs`
src/wrap.o: In function `__exchange_and_add_dispatch':
/Users/toyoshim/Opt/NaCl/nacl_sdk/pepper_19/toolchain/mac_x86_glibc/bin/../lib/g
cc/x86_64-nacl/4.4.3/../../../../x86_64-nacl/include/c++/4.4.3/ext/atomicity.h:7
8: warning: warning: pthread_cancel is not implemented and will always fail
src/wrap.o: In function `do_wrap()':
wrap.cc:(.text+0x7): undefined reference to `__libnacl_irt_filename'
wrap.cc:(.text+0x11): undefined reference to `__libnacl_irt_filename'
wrap.cc:(.text+0x22): undefined reference to `__libnacl_irt_fdio'
wrap.cc:(.text+0x2c): undefined reference to `__libnacl_irt_fdio'
wrap.cc:(.text+0x36): undefined reference to `__libnacl_irt_fdio'
wrap.cc:(.text+0x42): undefined reference to `__libnacl_irt_fdio'
collect2: ld returned 1 exit status
make: *** [html/naclfs_tests_x86_32.nexe] Error 1

Original issue reported on code.google.com by toyoshim on 22 Aug 2012 at 11:53

GoogleCodeExporter commented 9 years ago

Original comment by toyoshim on 16 Sep 2012 at 2:30