mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: Michael Olbrich <m.olbrich@pengutronix.de>
To: ptxdist@pengutronix.de
Subject: Re: [ptxdist] Linker problem: libpng-1.2.50, ptxdist-2012.12.0, and new atom toolchain i686-atom-linux
Date: Wed, 19 Dec 2012 12:42:45 +0100	[thread overview]
Message-ID: <20121219114245.GU32091@pengutronix.de> (raw)
In-Reply-To: <D415CD2EC4182C4EAB90A76B7D9F16DCAAA62782@EX-DAG02.eckelmann.group>

Hi,

On Wed, Dec 19, 2012 at 11:22:09AM +0000, Schenk, Gavin wrote:
> libgcrypt does not finish compile step
> xterm does not finish compile step
> Logs attached, can you confirm?

Ah, yes, I forgot about that. The latest version of binutils changed some
defaults. What happens is this:

libb.so links to liba.so
A program uses symbols from liba.so and libb.so. With the old binutils it
was ok to just add '-lb' when linking. liba.so was picked up indirectly.
With the new binutils it fails with the errors you're seeing. The real
solution would be to fix all packages with this problem. However this is a
lot of work, so for now, you can get the old behaviour by setting:
PTXCONF_TARGET_EXTRA_LDFLAGS="-Wl,--copy-dt-needed-entries"
in the platformconfig.

Michael

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

-- 
ptxdist mailing list
ptxdist@pengutronix.de

  reply	other threads:[~2012-12-19 11:42 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-12-13 12:40 Schenk, Gavin
2012-12-13 17:06 ` George McCollister
2012-12-13 18:46   ` Robert Schwebel
2012-12-14  9:43 ` Michael Olbrich
2012-12-14  9:48   ` Schenk, Gavin
2012-12-14 10:07     ` Michael Olbrich
2012-12-14 10:26       ` Schenk, Gavin
2012-12-14 10:32         ` Michael Olbrich
2012-12-14 13:46           ` Schenk, Gavin
2012-12-14 18:19             ` Michael Olbrich
2012-12-17 16:37               ` Michael Olbrich
2012-12-18 10:00                 ` Schenk, Gavin
2012-12-18 18:46                   ` Michael Olbrich
2012-12-19 11:22                     ` Schenk, Gavin
2012-12-19 11:42                       ` Michael Olbrich [this message]
2012-12-20 11:10                         ` Schenk, Gavin

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=20121219114245.GU32091@pengutronix.de \
    --to=m.olbrich@pengutronix.de \
    --cc=ptxdist@pengutronix.de \
    /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