2025-07-21 22:31 CEST

View Issue Details Jump to Notes ]
IDProjectCategoryView StatusLast Update
0001676Spring engineGeneralpublic2009-12-11 21:32
Reporterpatmo98 
Assigned ToAuswaschbar 
PrioritynormalSeverityminorReproducibilityalways
StatusresolvedResolutionfixed 
Product Version0.80.4.0+git 
Target VersionFixed in Version 
Summary0001676: MacOS 64-bit compatability fix
DescriptionIn rts/System/Util.cpp at about line 35 there's a section of asm code to detect the CPU type. When compiled in 64-bit mode on a Mac, it gives these errors:

[ 16%] Building CXX object rts/CMakeFiles/spring.dir/System/Util.cpp.o
{standard input}:20:suffix or operands invalid for `push'
{standard input}:23:suffix or operands invalid for `pop'
make[2]: *** [rts/CMakeFiles/spring.dir/System/Util.cpp.o] Error 1

As far as I can tell, you either need to push and pop the 64 bit register rbx, remove the l at the end of the commands or both. Getting it to compile is easy, but I don't know how to make it work.
TagsNo tags attached.
Checked infolog.txt for Errors
Attached Files

-Relationships
+Relationships

-Notes
There are no notes attached to this issue.
+Notes

-Issue History
Date Modified Username Field Change
2009-10-13 02:41 patmo98 New Issue
2009-12-11 21:32 Auswaschbar Status new => resolved
2009-12-11 21:32 Auswaschbar Resolution open => fixed
2009-12-11 21:32 Auswaschbar Assigned To => Auswaschbar
+Issue History