Opened 10 years ago

Closed 7 years ago

#41468 closed defect (fixed)

angelscript: Inline asm clobbers must be last on the x87 stack

Reported by: rudloff@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.2.1
Keywords: Cc: macports@…
Port: angelscript

Description

I get a fatal error when I try to install angelscript:

:info:build mkdir obj
:info:build /usr/bin/clang++ -g -Wall -fPIC -arch x86_64 -o obj/as_atomic.o -c ../../source/as_atomic.cpp
:info:build /usr/bin/clang++ -g -Wall -fPIC -arch x86_64 -o obj/as_builder.o -c ../../source/as_builder.cpp
:info:build /usr/bin/clang++ -g -Wall -fPIC -arch x86_64 -o obj/as_bytecode.o -c ../../source/as_bytecode.cpp
:info:build /usr/bin/clang++ -g -Wall -fPIC -arch x86_64 -o obj/as_callfunc.o -c ../../source/as_callfunc.cpp
:info:build ../../source/as_callfunc.cpp:477:70: warning: use of logical || with constant operand; switch to bitwise | or remove constant [-Wconstant-logical-operand]
:info:build                                 (descr->parameterTypes[n].GetObjectType()->flags & COMPLEX_MASK) ||
:info:build                                                                                                  ^
:info:build 1 warning generated.
:info:build /usr/bin/clang++ -g -Wall -fPIC -arch x86_64 -o obj/as_callfunc_arm.o -c ../../source/as_callfunc_arm.cpp
:info:build /usr/bin/clang++ -g -Wall -fPIC -arch x86_64 -o obj/as_callfunc_mips.o -c ../../source/as_callfunc_mips.cpp
:info:build /usr/bin/clang++ -g -Wall -fPIC -arch x86_64 -o obj/as_callfunc_ppc.o -c ../../source/as_callfunc_ppc.cpp
:info:build /usr/bin/clang++ -g -Wall -fPIC -arch x86_64 -o obj/as_callfunc_ppc_64.o -c ../../source/as_callfunc_ppc_64.cpp
:info:build /usr/bin/clang++ -g -Wall -fPIC -arch x86_64 -o obj/as_callfunc_sh4.o -c ../../source/as_callfunc_sh4.cpp
:info:build /usr/bin/clang++ -g -Wall -fPIC -arch x86_64 -o obj/as_callfunc_x86.o -c ../../source/as_callfunc_x86.cpp
:info:build /usr/bin/clang++ -g -Wall -fPIC -arch x86_64 -o obj/as_callfunc_x64_gcc.o -c ../../source/as_callfunc_x64_gcc.cpp
:info:build /usr/bin/clang++ -g -Wall -fPIC -arch x86_64 -o obj/as_compiler.o -c ../../source/as_compiler.cpp
:info:build fatal error: error in backend: Inline asm clobbers must be last on the x87 stack
:info:build make: *** [obj/as_callfunc_x64_gcc.o] Error 1
:info:build make: *** Waiting for unfinished jobs....

Attachments (1)

main.log (10.4 KB) - added by rudloff@… 10 years ago.
Install log

Download all attachments as: .zip

Change History (5)

Changed 10 years ago by rudloff@…

Attachment: main.log added

Install log

comment:1 Changed 10 years ago by ryandesign (Ryan Carsten Schmidt)

Port: angelscript added; arora removed

I've seen that error before, with other projects. Presumably this project's inline assembly code is faulty. Have you reported this problem to the developers of this program so that they can fix it?

comment:2 Changed 9 years ago by jmroot (Joshua Root)

It looks like this has been fixed upstream for a while now.

Last edited 9 years ago by jmroot (Joshua Root) (previous) (diff)

comment:3 Changed 8 years ago by macports@…

Cc: macports@… added

Cc Me!

comment:4 Changed 7 years ago by kurthindenburg (Kurt Hindenburg)

Resolution: fixed
Status: newclosed

In aa1a4381f01d2b441ff9c0c8be2dc60c2c096808/macports-ports:

angelscript: update to 2.31.2

closes #41468

Note: See TracTickets for help on using tickets.