Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0001262OCamlOCaml generalpublic2002-07-25 17:532002-07-25 18:01
Reporteradministrator 
Assigned To 
PrioritynormalSeverityminorReproducibilityalways
StatusclosedResolutionno change required 
PlatformOSOS Version
Product Version 
Target VersionFixed in Version 
Summary0001262: Re: [Caml-list] ocamlmktop: 3.04 differs from 3.00
DescriptionFrancois Thomasset wrote:

> Here:
> + gcc -Wl,-E -o montop -I/usr/local/lib/ocaml-3.04 /tmp/camlprim0.c
> -L/usr/local/lib/ocaml-3.04 -lnums -lcamlrun -lresolv -lm -ldl -lcurses
> This may be a local installation mistake. Our engineer is going to
> recompile
> ocamlmktop.

I don't think this will help. There seems to be a bug in Ocaml's
configure
script which adds -Wl,-E to the linker flags. However, the Solaris linker
(at least under 2.6 and 2.7) does not accept the -E flag.

Wolfgang

--
Wolfgang Lux Phone: +49-251-83-38263
Institut fuer Wirtschaftinformatik FAX: +49-251-83-38259
Universitaet Muenster Email: wlux@uni-muenster.de

TagsNo tags attached.
Attached Files

- Relationships

-  Notes
(0002522)
administrator (administrator)
2002-07-25 18:00

> > Here:
> > + gcc -Wl,-E -o montop -I/usr/local/lib/ocaml-3.04 /tmp/camlprim0.c
> > -L/usr/local/lib/ocaml-3.04 -lnums -lcamlrun -lresolv -lm -ldl -lcurses
> > This may be a local installation mistake. Our engineer is going to
> > recompile
> > ocamlmktop.
>
> I don't think this will help. There seems to be a bug in Ocaml's
> configure script which adds -Wl,-E to the linker flags. However, the
> Solaris linker (at least under 2.6 and 2.7) does not accept the -E
> flag.

Yes, Solaris' ld uses -R, but the GNU linker uses -E. Of course, both
go under the same name "ld". Someone deserves to be shot.
At any rate, the OCaml configure script tries very hard to figure out
the "gender" of the linker, but funny things can happen if e.g. users
changes the order of directories in their PATH...

- Xavier Leroy

(0002523)
administrator (administrator)
2002-07-25 18:01

The configure script does the right thing.
(0002524)
administrator (administrator)
2002-07-25 18:50

   Date: Thu, 25 Jul 2002 17:53:40 +0200 (MET DST)
   From: wlux@uni-muenster.de

   Francois Thomasset wrote:
   > This may be a local installation mistake.
It was.
   > Our engineer is going to recompile ocamlmktop.
I did (ocamlmktop is a script, I recompiled everything, in fact).
   I don't think this will help.
It did.
   There seems to be a bug in Ocaml's configure script which adds
   -Wl,-E to the linker flags.
Well, perhaps the other day, but not today :-)

   Date: Thu, 25 Jul 2002 18:00:18 +0200 (MET DST)
   From: xavier.leroy@inria.fr

   At any rate, the OCaml configure script tries very hard to figure
Yes.
   out the "gender" of the linker, but funny things can happen if
   e.g. users changes the order of directories in their PATH...
I never do that, of course :-) -- probably something much more
perverse.

Sorry for the wasted time,
Bruno.


- Issue History
Date Modified Username Field Change
2005-11-18 10:13 administrator New Issue


Copyright © 2000 - 2011 MantisBT Group
Powered by Mantis Bugtracker