Problem with devel/libtool22? [was Re: OpenCASCADE marked broken]

Thierry Thomas thierry at FreeBSD.org
Mon Apr 5 22:45:47 UTC 2010


Le Mar 23 mar 10 à 22:37:24 +0100, Andrea Venturoli <ml at netfence.it>
 écrivait :
> Just to let you know this used to work on 6.3, though I cannot test it 
> anymore now.
> 
> I can compile it without any problem on 7.2/i386, though I remove
> "USE_FORTRAN=yes".
> 
> The latter is to avoid compilation with gcc4.4, which will lead to 
> incompatibilities with other libraries (such as boost) I use on a 
> project of mine.

It should be fixed now.

Actually, it used to work untill gcc-4.4.4.20100216. Gcc-44 is needed
because f77 has been removed from the base.

Since gcc-4.4.4.20100216, we got errors at linkage:

local symbol 0: discarded in section `.text._ZNSs12_...
local symbol 1: discarded in section `.text._ZNSs12_...
etc.

The OpenCASCADE port was built using devel/libtool22, and this port
installs a libtool file where LD and CC are hardcoded.

To fix OpenCASCADE, I had to link it with g++44, so I switched to the
included libtool.

I guess there might be a problem with devel/libtool22, but I don't dare
patching this beast: it could fix some ports, and break many others...

Regards,
-- 
Th. Thomas.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20100405/2848651e/attachment.pgp


More information about the freebsd-ports mailing list