Port-macppc archive

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

-current release build failure



I just tried to cross build -m macppc64 on amd64, and hit:

--- gallium_dri.so.0 ---
#     build  gallium/gallium_dri.so.0
rm -f gallium_dri.so.0
/usr/src/obj.macppc/tooldir.NetBSD-7.99.4-amd64/bin/powerpc64--netbsd-c++  -Wl,-x -shared -Wl,-soname,gallium_dri.so.0 -Wl,--warn-shared-textrel -Wl,-Map=gallium_dri.so.0.map   --sysroot=/store/export/macppc -Wl,--version-script=/usr/xsrc/external/mit/MesaLib/dist/src/gallium/targets/dri/dri.sym -Wl,-rpath,/usr/X11R7/lib -L=/usr/X11R7/lib  -o gallium_dri.so.0  -Wl,-rpath-link,/store/export/macppc/lib  -L=/lib  -Wl,--whole-archive gallium_dri_pic.a  -Wl,--no-whole-archive -L/usr/src/lib/libm/obj.macppc -lm -L/usr/src/external/mit/xorg/lib/libdrm/obj.macppc -ldrm -L/usr/src/external/mit/xorg/lib/libdrm_radeon/obj.macppc -ldrm_radeon -L/usr/src/external/mit/xorg/lib/libglapi/obj.macppc -lglapi -L/usr/src/external/mit/expat/lib/libexpat/obj.macppc -lexpat 
/usr/obj/.macppc/tooldir.NetBSD-7.99.4-amd64/bin/../lib/gcc/powerpc64--netbsd/4.8.4/../../../../powerpc64--netbsd/bin/ld: gallium_dri_pic.a(sb_valtable.pico): I
n function `.r600_sb::value_table::add_value(r600_sb::value*)':
sb_valtable.cpp:(.text+0x1768): call to `.std::vector<r600_sb::value*, std::allocator<r600_sb::value*> >::_M_insert_aux(__gnu_cxx::__normal_iterator<r600_sb::value**, std::vector<r600_sb::value*, std::allocator<r600_sb::value*> > >, r600_sb::value* const&)' lacks nop, can't restore toc; (-mcmodel=small toc adjust stub)
/usr/obj/.macppc/tooldir.NetBSD-7.99.4-amd64/bin/../lib/gcc/powerpc64--netbsd/4.8.4/../../../../powerpc64--netbsd/bin/ld: gallium_dri_pic.a(sb_valtable.pico): In function `.r600_sb::value_table::get_values(std::vector<r600_sb::value*, std::allocator<r600_sb::value*> >&)':
sb_valtable.cpp:(.text+0x223c): call to `.std::vector<r600_sb::value*, std::allocator<r600_sb::value*> >::_M_fill_insert(__gnu_cxx::__normal_iterator<r600_sb::value**, std::vector<r600_sb::value*, std::allocator<r600_sb::value*> > >, unsigned long, r600_sb::value* const&)' lacks nop, can't restore toc; (-mcmodel=small toc adjust stub)/usr/obj/.macppc/tooldir.NetBSD-7.99.4-amd64/bin/../lib/gcc/powerpc64--netbsd/4.8.4/../../../../powerpc64--netbsd/bin/ld: final link failed: Bad value
collect2: error: ld returned 1 exit status
*** [gallium_dri.so.0] Error code 1

(Without -x,I got as far as

--- kern-GENERIC_601 ---
--- ioconf.d ---
cc1: error: -m64 requires a PowerPC64 cpu
nbmkdep: compile failed.

... it probably doesn't make sense to build GENERIC_601 in that case...)


Cheers,

Patrick


Home | Main Index | Thread Index | Old Index