2025-07-16 18:49 CEST

View Issue Details Jump to Notes ]
IDProjectCategoryView StatusLast Update
0005426BuildbotBuildbotpublic2018-09-05 20:25
ReporterTurBoss 
Assigned To 
PrioritynormalSeverityminorReproducibilityalways
StatusclosedResolutionnot fixable 
Summary0005426: MacOSX cross compiler
DescriptionHello:

I'm trying to provide a MacOSX BuildSlave able to compile SpringRTS

I'm having trouble with the compilation

CMAKE runs fine
but Ninja fails to build
Steps To Reproduce
setup a osxcross environ https://github.com/tpoechtrager/osxcross
install all the dependencies from macports with osxcross
run cmake
run ninja -j1
Additional Informationgcc6.2 compiles gcc4.9 then compiles gcc4.9 for cross compiling
Tagsbuildslave
Attached Files

-Relationships
+Relationships

-Notes

~0017020

TurBoss (developer)

full cmake command is
cd build
cmake -DCMAKE_TOOLCHAIN_FILE=/home/spring/Platform-OSX.cmake -GNinja ..

~0017021

TurBoss (developer)

there is a typo in the Platform-OSX.cmake file that I already solved

~0017022

TurBoss (developer)

https://github.com/spring/spring/commit/eafbe9022b80da6105c134c5f51d2c386cd13253

fixes the mentioned errors

appending new ones

Thanks

~0017023

TurBoss (developer)

https://github.com/spring/spring/commit/7ff13ef73162493929ae781e50d980debd5b6268

fixed the errors shown on Ninja_2.log

appending new ones

~0017028

TurBoss (developer)

I'm not able to compile spring with the macports build of boost wich is buit with clang

osxcross has not the way to rebuilt boost with gcc

so i'm stuck

thanks

~0017029

TurBoss (developer)

https://github.com/tpoechtrager/osxcross/issues/102

here de issue on osxcross github account

~0017415

TurBoss (developer)

trying to build for macos under a real mac with gcc 6.3 boost 1.63

gives strcpy and memcpy errors

~0017416

abma (administrator)

> trying to build for macos under a real mac with gcc 6.3 boost 1.63
> gives strcpy and memcpy errors

please open a new issue for that

~0017418

TurBoss (developer)

done and sorry for mixing issues
+Notes

-Issue History
Date Modified Username Field Change
2017-01-05 17:16 TurBoss New Issue
2017-01-05 17:16 TurBoss File Added: CMAKE.log
2017-01-05 17:16 TurBoss Tag Attached: Mac OS
2017-01-05 17:16 TurBoss Tag Attached: buildslave
2017-01-05 17:16 TurBoss Tag Attached: OSXCROSS
2017-01-05 17:16 TurBoss File Added: Ninja.log
2017-01-05 17:17 TurBoss File Added: Platform-OSX.cmake
2017-01-05 17:18 TurBoss Note Added: 0017020
2017-01-05 17:29 TurBoss Note Added: 0017021
2017-01-05 20:29 TurBoss Note Added: 0017022
2017-01-05 20:29 TurBoss File Added: Ninja_2.log
2017-01-05 22:30 TurBoss File Added: Ninja_3.log
2017-01-05 22:30 TurBoss Note Added: 0017023
2017-01-07 21:54 TurBoss File Added: libunitsync_link_error.log
2017-01-07 21:54 TurBoss Note Added: 0017028
2017-01-07 22:09 TurBoss Note Added: 0017029
2017-04-09 02:25 TurBoss Tag Detached: OSXCROSS
2017-04-09 02:34 TurBoss File Added: ninja_01.log
2017-04-09 02:36 TurBoss Note Added: 0017415
2017-04-09 03:54 abma Note Added: 0017416
2017-04-09 04:06 TurBoss Note Added: 0017418
2017-09-24 19:13 Kloot Tag Detached: Mac OS
2018-09-05 20:25 Kloot Status new => closed
2018-09-05 20:25 Kloot Resolution open => not fixable
+Issue History