Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Build break on amd64 and evbmips



On amd64, starting with a clean $OBJDIR I get

#     build  libatf-c++/libatf-c++.so.0.0
rm -f libatf-c++.so.0.0
/build/netbsd-local/tools/x86_64/amd64/bin/x86_64--netbsd-c++ -Wl,-x -shared -Wl,-soname,libatf-c++.so.0 -Wl,--warn-shared-textrel --sysroot=/build/netbsd-local/dest/amd64 -o libatf-c++.so.0.0 -Wl,-rpath-link,/build/netbsd-local/dest/amd64/lib -L=/lib -Wl,--whole-archive libatf-c++_pic.a -Wl,--no-whole-archive -L/build/netbsd-local/obj/amd64/external/bsd/atf/lib/libatf-c++/../libatf-c -latf-c /build/netbsd-local/tools/x86_64/amd64/lib/gcc/x86_64--netbsd/4.5.3/../../../../x86_64--netbsd/bin/ld: cannot find -lstdc++
/build/netbsd-local/tools/x86_64/amd64/lib/gcc/x86_64--netbsd/4.5.3/../../../../x86_64--netbsd/bin/ld:
 cannot find -lm
collect2: ld returned 1 exit status



On evbmips, I get

#     build  libatf-c++/libatf-c++.so.0.0
rm -f libatf-c++.so.0.0
/build/netbsd-local/tools/x86_64/mipseb-evbmips/bin/mipseb--netbsd-c++ -Wl,-x -shared -Wl,-soname,libatf-c++.so.0 -Wl,--warn-shared-textrel --sysroot=/build/netbsd-local/dest/mipseb-evbmips -o libatf-c++.so.0.0 -Wl,-rpath-link,/build/netbsd-local/dest/mipseb-evbmips/lib -L=/lib -Wl,--whole-archive libatf-c++.a -Wl,--no-whole-archive -L/build/netbsd-local/obj/mipseb-evbmips/external/bsd/atf/lib/libatf-c++/../libatf-c -latf-c libatf-c++.a(tests.o):(.eh_frame+0x1c): warning: relocation emitted against readonly section
libatf-c++.a(tests.o):(.eh_frame+0x30): warning: relocation emitted against 
readonly section
libatf-c++.a(tests.o):(.eh_frame+0x44): warning: relocation emitted against 
readonly section
libatf-c++.a(tests.o):(.eh_frame+0x60): warning: relocation emitted against 
readonly section
libatf-c++.a(tests.o):(.eh_frame+0x7c): warning: relocation emitted against 
readonly section
libatf-c++.a(tests.o):(.eh_frame+0x94): warning: relocation emitted against 
readonly section
libatf-c++.a(tests.o):(.eh_frame+0xb4): warning: relocation emitted against 
readonly section
<many many more of these are omitted>


-------------------------------------------------------------------------
| Paul Goyette     | PGP Key fingerprint:     | E-mail addresses:       |
| Customer Service | FA29 0E3B 35AF E8AE 6651 | paul at whooppee.com    |
| Network Engineer | 0786 F758 55DE 53BA 7731 | pgoyette at juniper.net |
| Kernel Developer |                          | pgoyette at netbsd.org  |
-------------------------------------------------------------------------


Home | Main Index | Thread Index | Old Index