Issue 64: propgcc (binutils ) does not build on latest Mac OS X (10.9 Mavericks)
dgately
Posts: 1,630
Posted an issue for this at: https://code.google.com/p/propgcc/issues/detail?id=64
Since OS X Mavericks (10.9) now uses clang for compiles, binutils versions older than 2.24 will not compile because of a number of deprecated symbols & functions. Not sure if just updating binutils in the propgcc project to the 2.24 version will fix all problems but it's a start...
Thanks,
dgately
Since OS X Mavericks (10.9) now uses clang for compiles, binutils versions older than 2.24 will not compile because of a number of deprecated symbols & functions. Not sure if just updating binutils in the propgcc project to the 2.24 version will fix all problems but it's a start...
Thanks,
dgately
Comments
Yeah, tried that... Then I get:
Error portion of the build log is attached.
Thanks,
dgately
Oh yeah, my MacBook Pro is always quite up-to-date in those respects. I'm not positive, but it seems these compile problems with propgcc started not when I upgraded to 10.9 and XCode 5, but when I started my iPad/iPhone Prop IDE development. Possibly something to do with using the 10.9 SDk? I've tried to reset my SDK to 10.8 for command-line compiles, but I have no idea if that is mod is really happening...
I'm a bit clueless here...
dgately
Outside of just exec'ing that on the command-line, I've put it in a file which I 'source' just before compiling. But I notice that the errors include infractions that should be ignored:
Is there a config file (since the Makefile is built by ./configure) or another file where I need to embed these exports?
This is consuming me... :frown:
Thanks,
dgately
I have been building with "sudo ./jbuild.sh 5 em-all" all of this time, thinking that my exec'ing "source fixBuildWarnings.sh" as my user would work. Of course 'sudo' was causing the build to take place as root and root had not exported the changes to CFLAGS... I needed to use 'sudo' to build as I keep getting permissions issues, but that was masking the issue. I'll need to look into the permissions problems, but can get around the problem for now.
To test, I exec'd "sudo su -", then "source fixBuildWarnings.sh" as root and "./jbuild.sh 5 em-all". It's now happily building propgcc!
Back to working on other things...
Thanks for your help!
dgately
Yeah, funny you can either create /opt/parallax as writable by everyone or you can 'sudo su -' to get builds to work. Neither feels right :thumb: !
Since it's my developer Mac and used by just me, I'll most likely do what you have done and set that directory and its content to writable by everyone. Oh, the perils of working below the UI...
And to add to that, it seems just wrong to have to ignore all those warnings as well... But alas, we must move on!
I'll live.
dgately
Users can also just create and use ~/opt/parallax as well.
Or a special user account that owns the development can be used...
All trade-offs.
Given it's a development environment, making it writable by all makes sense, because it's simple and consistent.