Voodooprojects
Chameleon => General Discussion => Topic started by: smolderas on July 29, 2012, 01:38:25 PM
-
With the new Xcode 4.4 on ML, you can't make the trunk.
Is there any fix yet?
-
Confirmed. XCode 4.4 with Command Line Tools installed.
Gringos-Mac-Pro:trunk Gringo$ make
[MAKE] config
/bin/sh: line 1: 1059 Segmentation fault: 11 /Users/Gringo/Desktop/trunk/sym/i386/cconfig /Users/Gringo/Desktop/trunk/Cconfig rebuild
make[1]: *** [rebuild_config] Error 139
make: *** [/Users/Gringo/Desktop/trunk/.config] Error 2
-
New error, svn rev 2240:
[LD] boot.sys
ld: warning: -segaddr __INIT not 4096 byte aligned
ld: warning: grandfathering in old symbol '__DATA__bss__begin' as alias for 'section$start$__DATA$(bool, short, short)'
ld: warning: grandfathering in old symbol '__DATA__bss__end' as alias for 'section$end$__DATA$(bool, short, short)'
ld: warning: grandfathering in old symbol '__DATA__common__begin' as alias for 'section$start$__DATA$__common'
ld: warning: grandfathering in old symbol '__DATA__common__end' as alias for 'section$end$__DATA$__common'
Undefined symbols for architecture i386:
"start", referenced from:
-u command line option
(maybe you meant: _start_built_in_module, _startprog , dyld_void_start , _symbols_module_start , _start_built_in_modules )
ld: symbol(s) not found for architecture i386
collect2: ld returned 1 exit status
make[3]: *** [boot] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
-
Uninstalled, then downloaded and installed Xcode again. Still getting the same error.
-
Hi Gringo.
There have been some posts to the Chameleon package installer thread at InsanelyMac about the same issue. In post #1325, zhell posted that md is no longer part of the OS since ML and pointed to a link for compiling that binary to add to the system. However, that still leaves the [LD] error as you've posted above.
I'm not sure what direction the devs are taking on this.
For now, I've created a separate 16GB HDD partition with Lion and Xcode 4.3 to get around the problem.
-
Thanks Black, I'll just go back to 4.3 then, still running Lion here.
-
you can try to add the option "-e boot2" to the final linker, to be able to compile successfully the project, but it will result to an unbootable file,
apparently we absolutely don't need md, but we need an older version of ld
-
Thanks for the feedback on this cparm.
I couldn't find where to add '-e boot2' so I didn't try it. :-[ But then if it produces an un-bootable file then I guess there' no need to try.
I did try compiling in ML with Xcode4.4 using /usr/bin/ld from Lion but I didn't get very far.
Any other ideas?
-
Thanks for the feedback on this cparm.
I couldn't find where to add '-e boot2' so I didn't try it. :-[ But then if it produces an un-bootable file then I guess there' no need to try.
I did try compiling in ML with Xcode4.4 using /usr/bin/ld from Lion but I didn't get very far.
Any other ideas?
yep try this version,
built with xcode4.4 under mountain lion (not tested)
-
Nice!
I'll try when I get home... Report back a bit later. Thanks
EDIT:
Just tested the stage 2 boot file only. Bingo!
Chameleon 2.1svn (svn-r0:2039) [2012-08-10 16:36:08]
boots just fine. Well done :)
-
Thank you for your latest trunk commits cparm. ;D
Building Chameleon from within 10.8.1 using Xcode 4.4.1 works well here.
EDTI: There are issues building the package installer from the trunk, but maybe they stem back from old changes as I haven't built it for a while. I'll look to see if I can find out what's up with it.
-
Confirmed, issuing make from the command line now works.
The xcode project doesn't compile in xcode 4.4.1, same error i posted earlier.