public inbox for gentoo-science@lists.gentoo.org
 help / color / mirror / Atom feed
From: Steven Trogdon <strogdon@d.umn.edu>
To: gentoo-science@lists.gentoo.org
Subject: Re: [gentoo-science] ecls/maxima summarry
Date: Thu, 07 Oct 2010 12:29:33 -0500	[thread overview]
Message-ID: <1286472574.21100.0@ledaig> (raw)
In-Reply-To: <201010080038.11001.f.r.bissey@massey.ac.nz> (from f.r.bissey@massey.ac.nz on Thu Oct  7 06:38:10 2010)

[-- Attachment #1: Type: text/plain, Size: 1431 bytes --]

On   10/07/10 - 06:38:10, François Bissey wrote:
> The more I look at ecls' configure.in the less I understand how  
> CFLAGS and
> LDFLAGS are picked up at all on some machine. I thought it could be  
> debugging
> flags but that's not it.
> 
> There are a few more things that I can look at on my ~x86 machine  
> tomorrow.
> 
> Francois
> 
It must be getting the flags from portage, at least here. If I in ecls

unset LDFLAGS

before it is configured then "ecl-config --ldflags" returns no linker  
options. The linker flags then do not appear twice in the linking stage  
when maxima is built. However maxima will still not build when three  
(perhaps more) linker options are specified.

Note:

from J-F's build of maxima:
linker flags:
\"-Wl,-O1 -Wl,--sort-common -Wl,--as-needed\" with unrecognized option  
'--sort-common -Wl'

my build:
linker flags:
\"-Wl,-O1 -Wl,--as-needed -Wl,--sort-common\" with unrecognized option  
'--as-needed -Wl'

It would seem that "something" in maxima isn't correctly parsing the  
string containing the linker flags. If I build ecls

LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--sort-common" emerge ecls

with the portage provided ecls and

unset LDFLAGS in maxima before the configure then

emerge maxima

only picks up the ecls-provided linker flags and it builds, I assume  
correctly. However, I don't believe this approach is optimal.

Steve

[-- Attachment #2: Type: application/pgp-signature, Size: 198 bytes --]

      reply	other threads:[~2010-10-07 17:30 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-10-07  0:11 [gentoo-science] ecls/maxima summarry François Bissey
2010-10-07  1:05 ` Steven Trogdon
2010-10-07 11:38   ` François Bissey
2010-10-07 17:29     ` Steven Trogdon [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1286472574.21100.0@ledaig \
    --to=strogdon@d.umn.edu \
    --cc=gentoo-science@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox