On Tue, Jun 17, 2014 at 7:45 PM, Chuck Forsberg WA7KGX <[email protected]> wrote:

> On 06/17/2014 04:45 PM, ki7mt wrote:
>
> Hi Richard,
>
> Sorry, was away for a few days and just now caching up. See below.
>
>
> On 06/10/2014 10:52 AM, Richard Shaw wrote:
>
>  Ok, I got it fixed but I'm not sure what the exact problem is.
>
>  WSPR doesn't like the default LDFLAGS on Fedora (and probably the same
> for Debian?)
>
>  LDFLAGS="-Wl,-z,relro
>
>
> This is the same for Debian / Ubuntu. F2PY does not like / will not accept
> -Wl, .. .. even with --as-required, so on the build servers, I set the
> LDFLAGS to null == "" initially, then perform the build.
>
>
I work around this by running the standard Fedora configure macro so
gfortran picks up the flags in configure, then do an "unset LDFLAGS" right
before make. Apparently f2py picks them up from the environment variable.

If anyone is interested I have a couple of patches that I needed to fix the
> build as f2py didn't like LDFLAGS as well as adding DESTDIR support to the
> make install target.
>
>
> I'd be interested in the F2PY patches if you could send them over, as I've
> not found a way around it, other than setting to NULL. Did you patch Numpy
> source or the f2py.py file
>
>
All I did was take ${LDFLAGS} out of the f2py line in Makefile.in and the
unset LDFLAGS from above. Depending on when the ${LDFLAGS} is evaluated
that may be obsolete now...

Thanks,
Richard
------------------------------------------------------------------------------
HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions
Find What Matters Most in Your Big Data with HPCC Systems
Open Source. Fast. Scalable. Simple. Ideal for Dirty Data.
Leverages Graph Analysis for Fast Processing & Easy Data Exploration
http://p.sf.net/sfu/hpccsystems
_______________________________________________
wsjt-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wsjt-devel

Reply via email to