You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Original bug ID: 5679 Reporter: pboutill Assigned to:@lefessan Status: closed (set by @xavierleroy on 2015-12-11T18:07:14Z) Resolution: fixed Priority: normal Severity: crash Platform: i386 OS: MacOS OS Version: 10.5.8 Version: 4.00.0+beta2/+rc1 Fixed in version: 4.00.0+dev Category: configure and build/install
Bug 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
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:
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.
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 ...) ?
Original bug ID: 5679
Reporter: pboutill
Assigned to: @lefessan
Status: closed (set by @xavierleroy on 2015-12-11T18:07:14Z)
Resolution: fixed
Priority: normal
Severity: crash
Platform: i386
OS: MacOS
OS Version: 10.5.8
Version: 4.00.0+beta2/+rc1
Fixed in version: 4.00.0+dev
Category: configure and build/install
Bug 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
File attachments
The text was updated successfully, but these errors were encountered: