Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 23767 - ocaml 3.06-r1 doesn't Compile...
Summary: ocaml 3.06-r1 doesn't Compile...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: Sparc Linux
: High normal (vote)
Assignee: Sparc Porters
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-06-30 10:41 UTC by Gregg Barbato
Modified: 2006-02-04 06:05 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Gregg Barbato 2003-06-30 10:41:12 UTC
When you try to compile ocaml 3.06-r1 it returns error...
make: *** [ocaml] Bus error
+ diefunc src_compile 36 2
+ local funcname=src_compile lineno=36 exitcode=2
+ shift 3
+ echo

+ echo '!!! ERROR: dev-lang/ocaml-3.06-r1 failed.'
!!! ERROR: dev-lang/ocaml-3.06-r1 failed.
+ echo '!!! Function src_compile, Line 36, Exitcode 2'
!!! Function src_compile, Line 36, Exitcode 2
+ echo '!!! (no error message)'
!!! (no error message)
+ echo

+ exit 1


Reproducible: Always
Steps to Reproduce:
1. emerge ocaml
Actual Results:  
compiles for a bit then gives...

make: *** [ocaml] Bus error
+ diefunc src_compile 36 2
+ local funcname=src_compile lineno=36 exitcode=2
+ shift 3
+ echo

+ echo '!!! ERROR: dev-lang/ocaml-3.06-r1 failed.'
!!! ERROR: dev-lang/ocaml-3.06-r1 failed.
+ echo '!!! Function src_compile, Line 36, Exitcode 2'
!!! Function src_compile, Line 36, Exitcode 2
+ echo '!!! (no error message)'
!!! (no error message)
+ echo

+ exit 1


Expected Results:  
actually compile....  what's more to say? :D

Well, actually, other programs running isn't the problem...  I've had other 
people try and it didn't work either....
Comment 1 Jason Wever (RETIRED) gentoo-dev 2003-06-30 12:01:43 UTC
I've tested this with multiple CFLAG variations but no change.  Unless anyone can come up with a reason for this happening, it'll probably have to be reported upstream to the ocaml team.
Comment 2 Keith M Wesolowski (RETIRED) gentoo-dev 2003-08-02 09:25:37 UTC
Of course, if one builds the debug-mode caml runtime, it doesn't bus error.  That makes this very near impossible to troubleshoot.
Comment 3 Jason Wever (RETIRED) gentoo-dev 2003-09-06 08:22:11 UTC
According to ocaml bug #1682 (http://caml.inria.fr/bin/caml-bugs/fixed?id=1682;expression=linux%20sparc;user=guest) , this problem is due to the way some gccs handle doubles.  The ocaml team has released a patch to the configure script to fix this.  Will test.
Comment 4 Jason Wever (RETIRED) gentoo-dev 2003-09-06 19:49:22 UTC
Patch works.  Added to ebuild.  

Marking this as fixed.  If you still have problems related to this, feel free to re-open

Thanks for the bug report.