tech-toolchain archive

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

obj directory can no longer be shared



Hi,

For ages it was possible to use the same obj directory for multiple architecture builds when using build.sh. Sometime between netbsd-5 and netbsd-6, this broke. It seems that the same directory is used for all architectures:

objdir/external/lgpl3/gmp/lib/libgmp/

This causes libgmp to fail like this:

--- lshift.o ---
#   compile  libgmp/lshift.o
/usr/src/../tools/bin/arm--netbsdelf-gcc -fPIC -Wno-stack-protector -c lshift.s -o lshift.o
lshift.s: Assembler messages:
lshift.s:75: Error: unrecognized symbol type ""
lshift.s:78: Error: bad instruction `moveml %d2-%d6/%a2,%sp'
lshift.s:81: Error: bad instruction `movel %sp'
lshift.s:82: Error: bad instruction `movel %sp'
lshift.s:83: Error: bad instruction `movel %sp'
lshift.s:84: Error: bad instruction `movel %sp'
lshift.s:86: Error: bad instruction `moveql #1,%d5'
lshift.s:87: Error: bad instruction `cmpw %d5,%d4'
lshift.s:88: Error: bad instruction `jne .LLnormal'
lshift.s:89: Error: bad instruction `cmpl %a0,%a1'
lshift.s:90: Error: bad instruction `jls .LLspecial'
lshift.s:93: Error: bad instruction `movel %d6,%d0'
lshift.s:94: Error: bad instruction `asll #2,%d0'
lshift.s:95: Error: bad instruction `lea %a0'
lshift.s:97: Error: bad instruction `cmpl %a1,%a2'
lshift.s:98: Error: bad instruction `jls .LLspecial'
lshift.s:101: Error: bad instruction `moveql #32,%d5'
lshift.s:102: Error: bad instruction `subl %d4,%d5'
lshift.s:105: Error: bad instruction `movel %d6,%d0'
lshift.s:106: Error: bad instruction `asll #2,%d0'
lshift.s:107: Error: bad instruction `addl %d0,%a0'
lshift.s:108: Error: bad instruction `addl %d0,%a1'
lshift.s:110: Error: bad instruction `movel %a0'
lshift.s:111: Error: bad instruction `movel %d2,%d0'
lshift.s:112: Error: bad instruction `lsrl %d5,%d0'
lshift.s:114: Error: bad instruction `lsll %d4,%d2'
lshift.s:115: Error: bad instruction `movel %d2,%d1'
lshift.s:116: Error: bad instruction `subql #1,%d6'
lshift.s:117: Error: bad instruction `jeq .LLend'
lshift.s:118: Error: bad instruction `lsrl #1,%d6'
lshift.s:119: Error: bad instruction `jcs .LL1'
lshift.s:120: Error: bad instruction `subql #1,%d6'
lshift.s:123: Error: bad instruction `movel %a0'
lshift.s:124: Error: bad instruction `movel %d2,%d3'
lshift.s:125: Error: bad instruction `lsrl %d5,%d3'
lshift.s:126: Error: bad instruction `orl %d3,%d1'
lshift.s:127: Error: bad instruction `movel %d1,%a1'
lshift.s:128: Error: bad instruction `lsll %d4,%d2'
lshift.s:130: Error: bad instruction `movel %a0'
lshift.s:131: Error: bad instruction `movel %d1,%d3'
lshift.s:132: Error: bad instruction `lsrl %d5,%d3'
lshift.s:133: Error: bad instruction `orl %d3,%d2'
lshift.s:134: Error: bad instruction `movel %d2,%a1'
lshift.s:135: Error: bad instruction `lsll %d4,%d1'
lshift.s:137: Error: bad instruction `dbf %d6,.LLoop'
lshift.s:138: Error: bad instruction `subl #0x10000,%d6'
lshift.s:139: Error: bad instruction `jcc .LLoop'
lshift.s:142: Error: bad instruction `movel %d1,%a1'
lshift.s:145: Error: bad instruction `moveml %sp'
lshift.s:146: Error: bad instruction `rts'
lshift.s:153: Error: bad instruction `clrl %d0'
lshift.s:154: Error: bad instruction `eorw #1,%d6'
lshift.s:155: Error: bad instruction `lsrl #1,%d6'
lshift.s:156: Error: bad instruction `jcc .LLL1'
lshift.s:157: Error: bad instruction `subql #1,%d6'
lshift.s:160: Error: bad instruction `movel %a0'
lshift.s:161: Error: bad instruction `addxl %d2,%d2'
lshift.s:162: Error: bad instruction `movel %d2,%a1'
lshift.s:164: Error: bad instruction `movel %a0'
lshift.s:165: Error: bad instruction `addxl %d2,%d2'
lshift.s:166: Error: bad instruction `movel %d2,%a1'
lshift.s:168: Error: bad instruction `dbf %d6,.LLLoop'
lshift.s:169: Error: bad instruction `addxl %d0,%d0'
lshift.s:170: Error: bad instruction `subl #0x10000,%d6'
lshift.s:171: Error: bad instruction `jcs .LLLend'
lshift.s:172: Error: bad instruction `lsrl #1,%d0'
lshift.s:173: Error: bad instruction `jra .LLLoop'
lshift.s:177: Error: bad instruction `moveml %sp'
lshift.s:178: Error: bad instruction `rts'
*** [lshift.o] Error code 1
nbmake: stopped in /usr/src/external/lgpl3/gmp/lib/libgmp

Thoughts?

John


Home | Main Index | Thread Index | Old Index