Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 4 Dec 2013 12:59:22 -0200
From:      William Grzybowski <william88@gmail.com>
To:        Gerald Pfeifer <gerald@pfeifer.com>
Cc:        python <python@freebsd.org>
Subject:   Re: python packages struggling with GCC 4.7
Message-ID:  <CAHtVNLO0c9aBnL7tDkXO4XTVzDy1DuVVEDJwRjAbj4oEfDf-ng@mail.gmail.com>
In-Reply-To: <alpine.LNX.2.00.1312041405490.2185@tuna.site>
References:  <201311060508.rA658XmR012155@svn.freebsd.org> <20131106063906.GA1385@medusa.sysfault.org> <20131106070255.GE60770@FreeBSD.org> <CAHtVNLMxUbFTS1J%2Bh1GQv_nEW84NE1t4FdDy8Sinkn2FKr8i_w@mail.gmail.com> <alpine.LNX.2.00.1312040220450.2185@tuna.site> <CAHtVNLMVRgO7xrGCqad-MOPCzojXTAXJE16uTaKOULd4ZLf_BQ@mail.gmail.com> <alpine.LNX.2.00.1312041405490.2185@tuna.site>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Dec 4, 2013 at 11:13 AM, Gerald Pfeifer <gerald@pfeifer.com> wrote:

> On Wed, 4 Dec 2013, William Grzybowski wrote:
> > The main reason foe the python failures, if not all, is math/p-numpy.
> > It is compiling just fine, but the package is not working:
> >
> > ImportError: /lib/libgcc_s.so.1: version GCC_4.6.0 required by
> > /usr/local/lib/gcc47/libgfortran.so.3 not found
> >
> > Looks like it is linking to /lib/libgcc_s.so.1 and should use
> > /usr/local/lib/gcc47/libgcc_s.so.1, am I right?
>
> #1, you rock.
>
> #2, you are right.  Is it possible that math/p-numpy fails to use LDFLAGS
> which would have added -Wl,rpath=/usr/local/lib/gcc47/libgcc_s.so.1 when
> linking?
>

It looks like the build is not respecting FFLAGS, so no -Wl,rpath= for
gfortran.
As far as it working for gcc46, it looks like it fails to detect gfortran46
as a compiler and uses gcc46, which respects CFLAGS.


>
> Can you somehow fix this in/for math/p-numpy?
>

Can you try http://people.freebsd.org/~wg/py-numpy.patch  ?


-- 
William Grzybowski
------------------------------------------
Curitiba/PR - Brasil



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAHtVNLO0c9aBnL7tDkXO4XTVzDy1DuVVEDJwRjAbj4oEfDf-ng>