Opened 2 years ago

Closed 15 months ago

#64978 closed defect (fixed)

boost176 fails on 10.6.8 Rosetta: makecontext/swapcontext do not work

Reported by: barracuda156 Owned by: michaelld (Michael Dickens)
Priority: Normal Milestone:
Component: ports Version: 2.7.2
Keywords: powerpc, snowleopard, rosetta Cc: evanmiller (Evan Miller)
Port: boost176

Description (last modified by barracuda156)

:info:build libs/context/src/asm/make_ppc32_sysv_macho_gas.S:98:Parameter syntax error (parameter 1)
:info:build libs/context/src/asm/make_ppc32_sysv_macho_gas.S:99:Parameter syntax error (parameter 3)
:info:build libs/context/src/asm/make_ppc32_sysv_macho_gas.S:114:Parameter error: expression must be absolute (parameter 3)
:info:build libs/context/src/asm/make_ppc32_sysv_macho_gas.S:124:Parameter syntax error
:info:build libs/context/src/asm/make_ppc32_sysv_macho_gas.S:137:Invalid mnemonic 'plt'
:info:build ...failed darwin.compile.asm bin.v2/libs/context/build/darwin-10.3.0/release/threadapi-pthread/threading-multi/visibility-hidden/asm/make_ppc32_sysv_macho_gas.o...
:info:build darwin.compile.c++ bin.v2/libs/container/build/darwin-10.3.0/release/threading-multi/visibility-hidden/pool_resource.o
:info:build     "/opt/local/bin/g++-mp-10"   -fvisibility-inlines-hidden -Os -std=gnu++11 -D_GLIBCXX_USE_CXX11_ABI=0 -arch ppc  -fPIC -m32 -O3 -Wall -fvisibility=hidden -dynamic -gdwarf-2 -fexceptions -Wno-inline  -DBOOST_ALL_NO_LIB=1 -DBOOST_CONTAINER_DYN_LINK=1 -DNDEBUG  -I"."  -c -o "bin.v2/libs/container/build/darwin-10.3.0/release/threading-multi/visibility-hidden/pool_resource.o" "libs/container/src/pool_resource.cpp"
:info:build darwin.compile.asm bin.v2/libs/context/build/darwin-10.3.0/release/threadapi-pthread/threading-multi/visibility-hidden/asm/jump_ppc32_sysv_macho_gas.o
:info:build     "/opt/local/bin/g++-mp-10" -x assembler-with-cpp -Os -arch ppc -fPIC -m32 -O3 -Wall -fvisibility=hidden -dynamic -gdwarf-2 -fexceptions -Wno-inline  -DBOOST_ALL_NO_LIB=1 -DBOOST_CHRONO_DYN_LINK=1 -DBOOST_CONTEXT_DYN_LINK=1 -DBOOST_CONTEXT_SOURCE -DBOOST_DISABLE_ASSERTS -DBOOST_THREAD_BUILD_DLL=1 -DBOOST_THREAD_POSIX -DBOOST_THREAD_USE_DLL=1 -DNDEBUG -I"." -c -o "bin.v2/libs/context/build/darwin-10.3.0/release/threadapi-pthread/threading-multi/visibility-hidden/asm/jump_ppc32_sysv_macho_gas.o" "libs/context/src/asm/jump_ppc32_sysv_macho_gas.S"
:info:build libs/context/src/asm/jump_ppc32_sysv_macho_gas.S:83:Parameter syntax error (parameter 3)
:info:build libs/context/src/asm/jump_ppc32_sysv_macho_gas.S:84:Parameter syntax error (parameter 3)
:info:build libs/context/src/asm/jump_ppc32_sysv_macho_gas.S:85:Parameter syntax error (parameter 3)
:info:build libs/context/src/asm/jump_ppc32_sysv_macho_gas.S:86:Parameter syntax error (parameter 3)
:info:build libs/context/src/asm/jump_ppc32_sysv_macho_gas.S:87:Parameter syntax error (parameter 3)
:info:build libs/context/src/asm/jump_ppc32_sysv_macho_gas.S:88:Parameter syntax error (parameter 3)
:info:build libs/context/src/asm/jump_ppc32_sysv_macho_gas.S:89:Parameter syntax error (parameter 3)
:info:build libs/context/src/asm/jump_ppc32_sysv_macho_gas.S:90:Parameter syntax error (parameter 3)
:info:build libs/context/src/asm/jump_ppc32_sysv_macho_gas.S:91:Parameter syntax error (parameter 3)
:info:build libs/context/src/asm/jump_ppc32_sysv_macho_gas.S:92:Parameter syntax error (parameter 3)
:info:build libs/context/src/asm/jump_ppc32_sysv_macho_gas.S:93:Parameter syntax error (parameter 3)
:info:build libs/context/src/asm/jump_ppc32_sysv_macho_gas.S:94:Parameter syntax error (parameter 3)
:info:build libs/context/src/asm/jump_ppc32_sysv_macho_gas.S:95:Parameter syntax error (parameter 3)
:info:build libs/context/src/asm/jump_ppc32_sysv_macho_gas.S:96:Parameter syntax error (parameter 3)
:info:build libs/context/src/asm/jump_ppc32_sysv_macho_gas.S:97:Parameter syntax error (parameter 3)
:info:build libs/context/src/asm/jump_ppc32_sysv_macho_gas.S:98:Parameter syntax error (parameter 3)
:info:build libs/context/src/asm/jump_ppc32_sysv_macho_gas.S:99:Parameter syntax error (parameter 3)
:info:build libs/context/src/asm/jump_ppc32_sysv_macho_gas.S:100:Parameter syntax error (parameter 3)
:info:build libs/context/src/asm/jump_ppc32_sysv_macho_gas.S:101:Parameter syntax error (parameter 1)
:info:build libs/context/src/asm/jump_ppc32_sysv_macho_gas.S:102:Parameter syntax error (parameter 3)
:info:build libs/context/src/asm/jump_ppc32_sysv_macho_gas.S:104:Parameter syntax error (parameter 3)
:info:build libs/context/src/asm/jump_ppc32_sysv_macho_gas.S:105:Parameter syntax error (parameter 3)
:info:build libs/context/src/asm/jump_ppc32_sysv_macho_gas.S:106:Parameter syntax error (parameter 3)
:info:build libs/context/src/asm/jump_ppc32_sysv_macho_gas.S:107:Parameter syntax error (parameter 3)
:info:build libs/context/src/asm/jump_ppc32_sysv_macho_gas.S:108:Parameter syntax error (parameter 3)
:info:build libs/context/src/asm/jump_ppc32_sysv_macho_gas.S:109:Parameter syntax error (parameter 3)
:info:build libs/context/src/asm/jump_ppc32_sysv_macho_gas.S:110:Parameter syntax error (parameter 3)
:info:build libs/context/src/asm/jump_ppc32_sysv_macho_gas.S:111:Parameter syntax error (parameter 3)
:info:build libs/context/src/asm/jump_ppc32_sysv_macho_gas.S:112:Parameter syntax error (parameter 3)
:info:build libs/context/src/asm/jump_ppc32_sysv_macho_gas.S:113:Parameter syntax error (parameter 3)
:info:build libs/context/src/asm/jump_ppc32_sysv_macho_gas.S:114:Parameter syntax error (parameter 3)
:info:build libs/context/src/asm/jump_ppc32_sysv_macho_gas.S:115:Parameter syntax error (parameter 3)
:info:build libs/context/src/asm/jump_ppc32_sysv_macho_gas.S:116:Parameter syntax error (parameter 3)
:info:build libs/context/src/asm/jump_ppc32_sysv_macho_gas.S:117:Parameter syntax error (parameter 3)
:info:build libs/context/src/asm/jump_ppc32_sysv_macho_gas.S:118:Parameter syntax error (parameter 3)
:info:build libs/context/src/asm/jump_ppc32_sysv_macho_gas.S:119:Parameter syntax error (parameter 3)
:info:build libs/context/src/asm/jump_ppc32_sysv_macho_gas.S:120:Parameter syntax error (parameter 3)
:info:build libs/context/src/asm/jump_ppc32_sysv_macho_gas.S:121:Parameter syntax error (parameter 3)
:info:build libs/context/src/asm/jump_ppc32_sysv_macho_gas.S:122:Parameter syntax error (parameter 3)
:info:build libs/context/src/asm/jump_ppc32_sysv_macho_gas.S:123:Parameter syntax error (parameter 3)
:info:build libs/context/src/asm/jump_ppc32_sysv_macho_gas.S:140:Parameter syntax error (parameter 3)
:info:build libs/context/src/asm/jump_ppc32_sysv_macho_gas.S:141:Parameter syntax error (parameter 3)
:info:build libs/context/src/asm/jump_ppc32_sysv_macho_gas.S:142:Parameter syntax error (parameter 3)
:info:build libs/context/src/asm/jump_ppc32_sysv_macho_gas.S:143:Parameter syntax error (parameter 3)
:info:build libs/context/src/asm/jump_ppc32_sysv_macho_gas.S:144:Parameter syntax error (parameter 3)
:info:build libs/context/src/asm/jump_ppc32_sysv_macho_gas.S:145:Parameter syntax error (parameter 3)
:info:build libs/context/src/asm/jump_ppc32_sysv_macho_gas.S:146:Parameter syntax error (parameter 3)
:info:build libs/context/src/asm/jump_ppc32_sysv_macho_gas.S:147:Parameter syntax error (parameter 3)
:info:build libs/context/src/asm/jump_ppc32_sysv_macho_gas.S:148:Parameter syntax error (parameter 3)
:info:build libs/context/src/asm/jump_ppc32_sysv_macho_gas.S:149:Parameter syntax error (parameter 3)
:info:build libs/context/src/asm/jump_ppc32_sysv_macho_gas.S:150:Parameter syntax error (parameter 3)
:info:build libs/context/src/asm/jump_ppc32_sysv_macho_gas.S:151:Parameter syntax error (parameter 3)
:info:build libs/context/src/asm/jump_ppc32_sysv_macho_gas.S:152:Parameter syntax error (parameter 3)
:info:build libs/context/src/asm/jump_ppc32_sysv_macho_gas.S:153:Parameter syntax error (parameter 3)
:info:build libs/context/src/asm/jump_ppc32_sysv_macho_gas.S:154:Parameter syntax error (parameter 3)
:info:build libs/context/src/asm/jump_ppc32_sysv_macho_gas.S:155:Parameter syntax error (parameter 3)
:info:build libs/context/src/asm/jump_ppc32_sysv_macho_gas.S:156:Parameter syntax error (parameter 3)
:info:build libs/context/src/asm/jump_ppc32_sysv_macho_gas.S:157:Parameter syntax error (parameter 3)
:info:build libs/context/src/asm/jump_ppc32_sysv_macho_gas.S:158:Parameter syntax error (parameter 3)
:info:build libs/context/src/asm/jump_ppc32_sysv_macho_gas.S:159:Parameter syntax error (parameter 2)
:info:build libs/context/src/asm/jump_ppc32_sysv_macho_gas.S:161:Parameter syntax error (parameter 3)
:info:build libs/context/src/asm/jump_ppc32_sysv_macho_gas.S:162:Parameter syntax error (parameter 3)
:info:build libs/context/src/asm/jump_ppc32_sysv_macho_gas.S:163:Parameter syntax error (parameter 3)
:info:build libs/context/src/asm/jump_ppc32_sysv_macho_gas.S:164:Parameter syntax error (parameter 3)
:info:build libs/context/src/asm/jump_ppc32_sysv_macho_gas.S:165:Parameter syntax error (parameter 3)
:info:build libs/context/src/asm/jump_ppc32_sysv_macho_gas.S:166:Parameter syntax error (parameter 3)
:info:build libs/context/src/asm/jump_ppc32_sysv_macho_gas.S:167:Parameter syntax error (parameter 3)
:info:build libs/context/src/asm/jump_ppc32_sysv_macho_gas.S:168:Parameter syntax error (parameter 3)
:info:build libs/context/src/asm/jump_ppc32_sysv_macho_gas.S:169:Parameter syntax error (parameter 3)
:info:build libs/context/src/asm/jump_ppc32_sysv_macho_gas.S:170:Parameter syntax error (parameter 3)
:info:build libs/context/src/asm/jump_ppc32_sysv_macho_gas.S:171:Parameter syntax error (parameter 3)
:info:build libs/context/src/asm/jump_ppc32_sysv_macho_gas.S:172:Parameter syntax error (parameter 3)
:info:build libs/context/src/asm/jump_ppc32_sysv_macho_gas.S:173:Parameter syntax error (parameter 3)
:info:build libs/context/src/asm/jump_ppc32_sysv_macho_gas.S:174:Parameter syntax error (parameter 3)
:info:build libs/context/src/asm/jump_ppc32_sysv_macho_gas.S:175:Parameter syntax error (parameter 3)
:info:build libs/context/src/asm/jump_ppc32_sysv_macho_gas.S:176:Parameter syntax error (parameter 3)
:info:build libs/context/src/asm/jump_ppc32_sysv_macho_gas.S:177:Parameter syntax error (parameter 3)
:info:build libs/context/src/asm/jump_ppc32_sysv_macho_gas.S:178:Parameter syntax error (parameter 3)
:info:build libs/context/src/asm/jump_ppc32_sysv_macho_gas.S:179:Parameter syntax error (parameter 3)
:info:build libs/context/src/asm/jump_ppc32_sysv_macho_gas.S:180:Parameter syntax error (parameter 3)
:info:build ...failed darwin.compile.asm bin.v2/libs/context/build/darwin-10.3.0/release/threadapi-pthread/threading-multi/visibility-hidden/asm/jump_ppc32_sysv_macho_gas.o...
:info:build common.mkdir bin.v2/libs/context/build/darwin-10.3.0/release/threadapi-pthread/threading-multi/visibility-hidden/posix
:info:build         mkdir -p "bin.v2/libs/context/build/darwin-10.3.0/release/threadapi-pthread/threading-multi/visibility-hidden/posix"
:info:build     
:info:build darwin.compile.asm bin.v2/libs/context/build/darwin-10.3.0/release/threadapi-pthread/threading-multi/visibility-hidden/asm/ontop_ppc32_sysv_macho_gas.o
:info:build     "/opt/local/bin/g++-mp-10" -x assembler-with-cpp -Os -arch ppc -fPIC -m32 -O3 -Wall -fvisibility=hidden -dynamic -gdwarf-2 -fexceptions -Wno-inline  -DBOOST_ALL_NO_LIB=1 -DBOOST_CHRONO_DYN_LINK=1 -DBOOST_CONTEXT_DYN_LINK=1 -DBOOST_CONTEXT_SOURCE -DBOOST_DISABLE_ASSERTS -DBOOST_THREAD_BUILD_DLL=1 -DBOOST_THREAD_POSIX -DBOOST_THREAD_USE_DLL=1 -DNDEBUG -I"." -c -o "bin.v2/libs/context/build/darwin-10.3.0/release/threadapi-pthread/threading-multi/visibility-hidden/asm/ontop_ppc32_sysv_macho_gas.o" "libs/context/src/asm/ontop_ppc32_sysv_macho_gas.S"
:info:build libs/context/src/asm/ontop_ppc32_sysv_macho_gas.S:83:Parameter syntax error (parameter 3)
:info:build libs/context/src/asm/ontop_ppc32_sysv_macho_gas.S:84:Parameter syntax error (parameter 3)
:info:build libs/context/src/asm/ontop_ppc32_sysv_macho_gas.S:85:Parameter syntax error (parameter 3)
:info:build libs/context/src/asm/ontop_ppc32_sysv_macho_gas.S:86:Parameter syntax error (parameter 3)
:info:build libs/context/src/asm/ontop_ppc32_sysv_macho_gas.S:87:Parameter syntax error (parameter 3)
:info:build libs/context/src/asm/ontop_ppc32_sysv_macho_gas.S:88:Parameter syntax error (parameter 3)
:info:build libs/context/src/asm/ontop_ppc32_sysv_macho_gas.S:89:Parameter syntax error (parameter 3)
:info:build libs/context/src/asm/ontop_ppc32_sysv_macho_gas.S:90:Parameter syntax error (parameter 3)
:info:build libs/context/src/asm/ontop_ppc32_sysv_macho_gas.S:91:Parameter syntax error (parameter 3)
:info:build libs/context/src/asm/ontop_ppc32_sysv_macho_gas.S:92:Parameter syntax error (parameter 3)
:info:build libs/context/src/asm/ontop_ppc32_sysv_macho_gas.S:93:Parameter syntax error (parameter 3)
:info:build libs/context/src/asm/ontop_ppc32_sysv_macho_gas.S:94:Parameter syntax error (parameter 3)
:info:build libs/context/src/asm/ontop_ppc32_sysv_macho_gas.S:95:Parameter syntax error (parameter 3)
:info:build libs/context/src/asm/ontop_ppc32_sysv_macho_gas.S:96:Parameter syntax error (parameter 3)
:info:build libs/context/src/asm/ontop_ppc32_sysv_macho_gas.S:97:Parameter syntax error (parameter 3)
:info:build libs/context/src/asm/ontop_ppc32_sysv_macho_gas.S:98:Parameter syntax error (parameter 3)
:info:build libs/context/src/asm/ontop_ppc32_sysv_macho_gas.S:99:Parameter syntax error (parameter 3)
:info:build libs/context/src/asm/ontop_ppc32_sysv_macho_gas.S:100:Parameter syntax error (parameter 3)
:info:build libs/context/src/asm/ontop_ppc32_sysv_macho_gas.S:101:Parameter syntax error (parameter 1)
:info:build libs/context/src/asm/ontop_ppc32_sysv_macho_gas.S:102:Parameter syntax error (parameter 3)
:info:build libs/context/src/asm/ontop_ppc32_sysv_macho_gas.S:104:Parameter syntax error (parameter 3)
:info:build libs/context/src/asm/ontop_ppc32_sysv_macho_gas.S:105:Parameter syntax error (parameter 3)
:info:build libs/context/src/asm/ontop_ppc32_sysv_macho_gas.S:106:Parameter syntax error (parameter 3)
:info:build libs/context/src/asm/ontop_ppc32_sysv_macho_gas.S:107:Parameter syntax error (parameter 3)
:info:build libs/context/src/asm/ontop_ppc32_sysv_macho_gas.S:108:Parameter syntax error (parameter 3)
:info:build libs/context/src/asm/ontop_ppc32_sysv_macho_gas.S:109:Parameter syntax error (parameter 3)
:info:build libs/context/src/asm/ontop_ppc32_sysv_macho_gas.S:110:Parameter syntax error (parameter 3)
:info:build libs/context/src/asm/ontop_ppc32_sysv_macho_gas.S:111:Parameter syntax error (parameter 3)
:info:build libs/context/src/asm/ontop_ppc32_sysv_macho_gas.S:112:Parameter syntax error (parameter 3)
:info:build libs/context/src/asm/ontop_ppc32_sysv_macho_gas.S:113:Parameter syntax error (parameter 3)
:info:build libs/context/src/asm/ontop_ppc32_sysv_macho_gas.S:114:Parameter syntax error (parameter 3)
:info:build libs/context/src/asm/ontop_ppc32_sysv_macho_gas.S:115:Parameter syntax error (parameter 3)
:info:build libs/context/src/asm/ontop_ppc32_sysv_macho_gas.S:116:Parameter syntax error (parameter 3)
:info:build libs/context/src/asm/ontop_ppc32_sysv_macho_gas.S:117:Parameter syntax error (parameter 3)
:info:build libs/context/src/asm/ontop_ppc32_sysv_macho_gas.S:118:Parameter syntax error (parameter 3)
:info:build libs/context/src/asm/ontop_ppc32_sysv_macho_gas.S:119:Parameter syntax error (parameter 3)
:info:build libs/context/src/asm/ontop_ppc32_sysv_macho_gas.S:120:Parameter syntax error (parameter 3)
:info:build libs/context/src/asm/ontop_ppc32_sysv_macho_gas.S:121:Parameter syntax error (parameter 3)
:info:build libs/context/src/asm/ontop_ppc32_sysv_macho_gas.S:122:Parameter syntax error (parameter 3)
:info:build libs/context/src/asm/ontop_ppc32_sysv_macho_gas.S:123:Parameter syntax error (parameter 3)
:info:build libs/context/src/asm/ontop_ppc32_sysv_macho_gas.S:140:Parameter syntax error (parameter 3)
:info:build libs/context/src/asm/ontop_ppc32_sysv_macho_gas.S:141:Parameter syntax error (parameter 3)
:info:build libs/context/src/asm/ontop_ppc32_sysv_macho_gas.S:142:Parameter syntax error (parameter 3)
:info:build libs/context/src/asm/ontop_ppc32_sysv_macho_gas.S:143:Parameter syntax error (parameter 3)
:info:build libs/context/src/asm/ontop_ppc32_sysv_macho_gas.S:144:Parameter syntax error (parameter 3)
:info:build libs/context/src/asm/ontop_ppc32_sysv_macho_gas.S:145:Parameter syntax error (parameter 3)
:info:build libs/context/src/asm/ontop_ppc32_sysv_macho_gas.S:146:Parameter syntax error (parameter 3)
:info:build libs/context/src/asm/ontop_ppc32_sysv_macho_gas.S:147:Parameter syntax error (parameter 3)
:info:build libs/context/src/asm/ontop_ppc32_sysv_macho_gas.S:148:Parameter syntax error (parameter 3)
:info:build libs/context/src/asm/ontop_ppc32_sysv_macho_gas.S:149:Parameter syntax error (parameter 3)
:info:build libs/context/src/asm/ontop_ppc32_sysv_macho_gas.S:150:Parameter syntax error (parameter 3)
:info:build libs/context/src/asm/ontop_ppc32_sysv_macho_gas.S:151:Parameter syntax error (parameter 3)
:info:build libs/context/src/asm/ontop_ppc32_sysv_macho_gas.S:152:Parameter syntax error (parameter 3)
:info:build libs/context/src/asm/ontop_ppc32_sysv_macho_gas.S:153:Parameter syntax error (parameter 3)
:info:build libs/context/src/asm/ontop_ppc32_sysv_macho_gas.S:154:Parameter syntax error (parameter 3)
:info:build libs/context/src/asm/ontop_ppc32_sysv_macho_gas.S:155:Parameter syntax error (parameter 3)
:info:build libs/context/src/asm/ontop_ppc32_sysv_macho_gas.S:156:Parameter syntax error (parameter 3)
:info:build libs/context/src/asm/ontop_ppc32_sysv_macho_gas.S:157:Parameter syntax error (parameter 3)
:info:build libs/context/src/asm/ontop_ppc32_sysv_macho_gas.S:158:Parameter syntax error (parameter 3)
:info:build libs/context/src/asm/ontop_ppc32_sysv_macho_gas.S:159:Parameter syntax error (parameter 2)
:info:build libs/context/src/asm/ontop_ppc32_sysv_macho_gas.S:161:Parameter syntax error (parameter 3)
:info:build libs/context/src/asm/ontop_ppc32_sysv_macho_gas.S:162:Parameter syntax error (parameter 3)
:info:build libs/context/src/asm/ontop_ppc32_sysv_macho_gas.S:163:Parameter syntax error (parameter 3)
:info:build libs/context/src/asm/ontop_ppc32_sysv_macho_gas.S:164:Parameter syntax error (parameter 3)
:info:build libs/context/src/asm/ontop_ppc32_sysv_macho_gas.S:165:Parameter syntax error (parameter 3)
:info:build libs/context/src/asm/ontop_ppc32_sysv_macho_gas.S:166:Parameter syntax error (parameter 3)
:info:build libs/context/src/asm/ontop_ppc32_sysv_macho_gas.S:167:Parameter syntax error (parameter 3)
:info:build libs/context/src/asm/ontop_ppc32_sysv_macho_gas.S:168:Parameter syntax error (parameter 3)
:info:build libs/context/src/asm/ontop_ppc32_sysv_macho_gas.S:169:Parameter syntax error (parameter 3)
:info:build libs/context/src/asm/ontop_ppc32_sysv_macho_gas.S:170:Parameter syntax error (parameter 3)
:info:build libs/context/src/asm/ontop_ppc32_sysv_macho_gas.S:171:Parameter syntax error (parameter 3)
:info:build libs/context/src/asm/ontop_ppc32_sysv_macho_gas.S:172:Parameter syntax error (parameter 3)
:info:build libs/context/src/asm/ontop_ppc32_sysv_macho_gas.S:173:Parameter syntax error (parameter 3)
:info:build libs/context/src/asm/ontop_ppc32_sysv_macho_gas.S:174:Parameter syntax error (parameter 3)
:info:build libs/context/src/asm/ontop_ppc32_sysv_macho_gas.S:175:Parameter syntax error (parameter 3)
:info:build libs/context/src/asm/ontop_ppc32_sysv_macho_gas.S:176:Parameter syntax error (parameter 3)
:info:build libs/context/src/asm/ontop_ppc32_sysv_macho_gas.S:177:Parameter syntax error (parameter 3)
:info:build libs/context/src/asm/ontop_ppc32_sysv_macho_gas.S:178:Parameter syntax error (parameter 3)
:info:build libs/context/src/asm/ontop_ppc32_sysv_macho_gas.S:179:Parameter syntax error (parameter 3)
:info:build libs/context/src/asm/ontop_ppc32_sysv_macho_gas.S:180:Parameter syntax error (parameter 3)

Attachments (1)

main.log (547.1 KB) - added by barracuda156 2 years ago.

Download all attachments as: .zip

Change History (11)

Changed 2 years ago by barracuda156

Attachment: main.log added

comment:1 Changed 2 years ago by barracuda156

Description: modified (diff)
Owner: set to michaelld
Status: newassigned

comment:2 Changed 2 years ago by barracuda156

Turned out this was the problem:

# makecontext/swapcontext introduced in 10.6
if {${os.platform} eq "darwin" && ${os.major} < 10} {
    configure.args-append   --without-libraries=context \
                            --without-libraries=coroutine
}

It does not work in Rosetta and must be disabled for ${os.major} == 10 && ${build.arch} = ppc.

  1. S. I did not try turning these off separately, so it might be the case that only one fails.
Last edited 2 years ago by barracuda156 (previous) (diff)

comment:3 Changed 2 years ago by barracuda156

Summary: boost176 fails on 10.6.8 Rosetta with parameter syntax errorsboost176 fails on 10.6.8 Rosetta: makecontext/swapcontext do not work

comment:4 Changed 2 years ago by evanmiller (Evan Miller)

Cc: evanmiller added

comment:5 Changed 2 years ago by evanmiller (Evan Miller)

One of my fantasy projects is to get this Boost assembler code to work properly on PPC. It's possible that the correct logic is to disable context/coroutine on PowerPC rather than on 10.4/10.5. Maybe for now you want something like:

if {${os.platform} eq "darwin" && (${os.major} < 10 || ${build.arch} eq "ppc")} {

comment:6 in reply to:  5 Changed 2 years ago by barracuda156

Replying to evanmiller:

One of my fantasy projects is to get this Boost assembler code to work properly on PPC. It's possible that the correct logic is to disable context/coroutine on PowerPC rather than on 10.4/10.5. Maybe for now you want something like:

if {${os.platform} eq "darwin" && (${os.major} < 10 || ${build.arch} eq "ppc")} {

Thank you. BTW what does not work with its assembler on PPC? Boost does install on PPC and seems to work. Though this might be a case of its failure: https://github.com/PurpleI2P/i2pd/issues/1726

  1. S. Should be rather if {${os.platform} eq "darwin" && (${os.major} < 11 || ${build_arch} eq "ppc")} { – we can build on 10.6.x for ppc, and my ticket is for 10.6.8 in fact. Also, build_arch, I think.
Last edited 2 years ago by barracuda156 (previous) (diff)

comment:7 Changed 2 years ago by evanmiller (Evan Miller)

The PPC assembler code included with the Boost context module has a few problems:

  • Its comments are prefixed with # instead of ;
  • The exit function is suffixed with @plt, which confuses the assembler
  • The addi instruction does not accept a 32-bit value

I took a stab at fixing these issues, but the tests didn't immediately pass so I punted on it.

comment:8 in reply to:  7 Changed 20 months ago by barracuda156

Replying to evanmiller:

The PPC assembler code included with the Boost context module has a few problems:

  • Its comments are prefixed with # instead of ;
  • The exit function is suffixed with @plt, which confuses the assembler
  • The addi instruction does not accept a 32-bit value

I took a stab at fixing these issues, but the tests didn't immediately pass so I punted on it.

Just in case, for now I disabled context and coroutine in Boost for PPC, so every version should build. I will see if assembler can be fixed though. context is needed for some dependents to build.

comment:9 in reply to:  7 Changed 20 months ago by barracuda156

Replying to evanmiller:

The PPC assembler code included with the Boost context module has a few problems:

I have found some version of context which looks okay: https://github.com/twlostow/libcontext Trying to build now on Rosetta.

I am not sure though if broken assembler is the only problem and otherwise these libs can be built on 10.5 and 10.6 for ppc/ppc64.

comment:10 Changed 15 months ago by evanmiller (Evan Miller)

Resolution: fixed
Status: assignedclosed
Note: See TracTickets for help on using tickets.