| Anonymous | Login | Signup for a new account | 2013-05-24 12:05 CEST | ![]() |
| Main | My View | View Issues | Change Log | Roadmap |
| View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||||||
| ID | Project | Category | View Status | Date Submitted | Last Update | |||||||
| 0005679 | OCaml | OCaml internal build/install (Makefiles, configure) | public | 2012-07-11 10:38 | 2012-07-11 18:06 | |||||||
| Reporter | pboutill | |||||||||||
| Assigned To | lefessan | |||||||||||
| Priority | normal | Severity | crash | Reproducibility | always | |||||||
| Status | resolved | Resolution | fixed | |||||||||
| Platform | i386 | OS | MacOS | OS Version | 10.5.8 | |||||||
| Product Version | 4.00.0+beta2/+rc1 | |||||||||||
| Target Version | Fixed in Version | 4.00.0+dev | ||||||||||
| Summary | 0005679: make opt fails on pervasives.cmx on (old?) MacOS | |||||||||||
| Description | When I use either Xcode 3.1.3 or 3.1.4( as -version = Apple Inc version cctools-698.1~1, GNU assembler version 1.38 gcc-4.2 --version = i686-apple-darwin9-gcc-4.2.1 (GCC) 4.2.1 (Apple Inc. build 5577) ) to compile Ocaml4.00 I can read : cd stdlib; make allopt ../boot/ocamlrun ../ocamlopt -warn-error A -nostdlib -g `./Compflags pervasives.cmx` -c pervasives.ml /var/folders/a6/a6KJ8MUxEnqHzTCErC+DkU+++TI/-Tmp-/camlasmd97cd2.s:634:Missing string /var/folders/a6/a6KJ8MUxEnqHzTCErC+DkU+++TI/-Tmp-/camlasmd97cd2.s:634:Rest of line ignored. 1st junk character valued 49 (1). /var/folders/a6/a6KJ8MUxEnqHzTCErC+DkU+++TI/-Tmp-/camlasmd97cd2.s:635:Unknown pseudo-op: .loc /var/folders/a6/a6KJ8MUxEnqHzTCErC+DkU+++TI/-Tmp-/camlasmd97cd2.s:635:Rest of line ignored. 1st junk character valued 49 (1). and then 30 other lines where "Unknown pseudo-op: .loc" Is it because my computer is full of garbage or is it because 10.5 is too old ? (I'm OK with that, just don't mention it explicitelly in the README then) | |||||||||||
| Steps To Reproduce | > ./configure or > ./configure -cc gcc-4.2 or > ./configure -as "gcc-4.2 -c" -cc gcc-4.2 and then > make opt | |||||||||||
| Tags | No tags attached. | |||||||||||
| Attached Files | ||||||||||||
Notes |
|
|
(0007703) lefessan (developer) 2012-07-11 10:45 |
Could you provide more information: - ./boot/ocamlrun ./ocamlc -config > ocamlc.config - In stdlib/ (notice the -S and -verbose): ../boot/ocamlrun ../ocamlopt -warn-error A -verbose -S -nostdlib -g `./Compflags pervasives.cmx` -c pervasives.ml > ocamlopt.verbose and attach the files: - ocamlc.config - stdlib/pervasives.s - stdlib/ocamlopt.verbose to this bug report ? |
|
(0007713) lefessan (developer) 2012-07-11 17:08 |
Indeed, new .line and .loc directives were added in i386/amd64 backends. Since they are not available on LLVM before 2011, we should probably either check for their support, or activate them only if .cfi directives are also accepted. |
|
(0007716) lefessan (developer) 2012-07-11 17:32 |
I committed a fix that checks for support of .line/.loc directives at the same time as .cfi directives, and generate either both of them or none of them. Could you test the new version (starting with ./configure ...) ? |
|
(0007719) pboutill (reporter) 2012-07-11 18:06 |
It works. Thanks a lot for your reactivity... |
Issue History |
|||
| Date Modified | Username | Field | Change |
| 2012-07-11 10:38 | pboutill | New Issue | |
| 2012-07-11 10:45 | lefessan | Note Added: 0007703 | |
| 2012-07-11 10:55 | pboutill | File Added: ocamlc.config | |
| 2012-07-11 10:55 | gasche | Summary | make opt fails on pervasives.cmx => make opt fails on pervasives.cmx on (old?) MacOS |
| 2012-07-11 10:56 | pboutill | File Added: pervasives.s | |
| 2012-07-11 10:57 | pboutill | File Added: ocamlopt.verbose | |
| 2012-07-11 17:08 | lefessan | Note Added: 0007713 | |
| 2012-07-11 17:08 | lefessan | Assigned To | => lefessan |
| 2012-07-11 17:08 | lefessan | Status | new => confirmed |
| 2012-07-11 17:32 | lefessan | Note Added: 0007716 | |
| 2012-07-11 17:32 | lefessan | Status | confirmed => resolved |
| 2012-07-11 17:32 | lefessan | Fixed in Version | => 4.00.0+dev |
| 2012-07-11 17:32 | lefessan | Resolution | open => fixed |
| 2012-07-11 18:06 | pboutill | Note Added: 0007719 | |
| Copyright © 2000 - 2011 MantisBT Group |