New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot install trunk on OSX 10.6.8 #5912
Comments
Comment author: @damiendoligez note: should probably check the version of as rather than the version of OSX. |
Comment author: tgazagna $ as -v |
Comment author: @damiendoligez We'll need to find an OSX 10.6 machine to test this out. Or is it linked to the Xcode version? What about deciding that older versions of OSX are not supported? |
Comment author: @bobzhang I have an OSX 10.6.8 at home, I would help test tonight |
Comment author: @bobzhang unfortunately, I did not notice my mac was upgraded to 10.7.4. |
Comment author: tgazagna I still get the issue with beta1: A lot of "warning: ignoring directive for now .cfi_endproc" Same config as first reported: |
Comment author: @damiendoligez On my 10.6.8 machine, I have XCode 3.2.6 (the latest free version that works on 10.6), The latest non-free version of XCode available for 10.6 is XCode 4.2. Is that what you have? |
Comment author: tgazagna I have indeed a more recent version of XCode: $ /Developer/usr/bin/xcodebuild -version I'll try to upgrade/downgrade to see it this has any impact. |
Comment author: tgazagna Actually Xcode 4.2 seems to not be available anywhere so I can't test it. |
Comment author: @damiendoligez XCode 4.2 is here: https://developer.apple.com/downloads/index.action# |
Comment author: @damiendoligez I installed 4.0.2 and reproduced your problem: configure calls clang to test for .cfi support, but clang gives only a warning rather than an error, so configure continues as if .cfi was supported. I've no idea why it makes ocamlc.opt loop, but all those warnings are unhealthy anyway. clang supports the -Werror option, but unfortunately it ignores it, so we can't use it in configure. Possible solutions:
Both solutions are ugly and I'm now downloading XCode 4.2. Hopefully it will fix the problem, and I will close this PR as "won't fix" unless you object strongly. |
Comment author: @damiendoligez With XCode 4.2 it works (with CFI). |
Comment author: tgazagna I managed to update to 4.2 and I confirm that it works. Thanks for looking at it! I'm fine with the "won't fix" / -no-cfi workaround. |
Comment author: @damiendoligez FTR: XCode 4.2: works with CFI I added a configure option (-no-cfi) and a mention in the INSTALL file. (branch 4.01, rev 14033). |
Original bug ID: 5912
Reporter: tgazagna
Assigned to: @damiendoligez
Status: closed (set by @xavierleroy on 2015-12-11T18:23:55Z)
Resolution: won't fix
Priority: high
Severity: minor
OS: OSX
OS Version: 10.6.8
Version: 4.01.0+dev
Target version: 4.01.0+dev
Fixed in version: 4.01.0+dev
Category: configure and build/install
Monitored by: tgazagna meurer @damiendoligez
Bug description
I have OSX 10.6.8 and I got:
[...]
/var/folders/xX/xX11ISOtFjiytGYgrXdr6U+++TI/-Tmp-/cc-ZGZMwX.s:4179:2: warning: ignoring directive for now
.cfi_endproc
^
for i in unix str num dynlink bigarray systhreads threads graph labltk; do
(cd otherlibs/$i; make allopt) || exit $?;
done
../../ocamlcompopt.sh -c -w +33..39 -warn-error A -g -nolabels unix.ml
and then the script seems to be stuck. I guess this is due to the recent swtich from as to llvm-as. I guess the configure script should check for the right version of OSX as well.
The text was updated successfully, but these errors were encountered: