Openembedded Core Discussions
 help / color / mirror / Atom feed
From: Saul Wold <sgw@linux.intel.com>
To: Khem Raj <raj.khem@gmail.com>,
	 openembeded-devel <Openembedded-devel@lists.openembedded.org>,
	Patches and discussions about the oe-core layer
	<openembedded-core@lists.openembedded.org>
Subject: Re: [RFC] Binutils upgrade to 2.24
Date: Thu, 19 Dec 2013 07:21:09 -0800	[thread overview]
Message-ID: <52B30EE5.6050901@linux.intel.com> (raw)
In-Reply-To: <CAMKF1spWnFvXRAp-GuoBL9vXceg29h5Numv7PYhZNWUJu8rMRw@mail.gmail.com>

On 12/16/2013 12:03 PM, Khem Raj wrote:
> Hi
>
> I have pushed a contrib branch for binutils 2.24 upgrade here
>
> http://git.openembedded.org/openembedded-core-contrib/log/?h=kraj/binutils-2.24
>
> I have tested it on both uclibc/eglibc and qemu machines. But it would
> be nice if
> it gets more testing for machines I havent tested
>

Looks like we tickled an LD bug of somekind, we are seeing the following 
failure across all machines, this was a second build using binutils 
2.24, so there was some shared state usage.

RP pointed out the --as-needed option was used with -lm as those symbols 
are math related.

> | powerpc-poky-linux-gcc  -m32 -mhard-float -mcpu=7400 --sysroot=/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-ppc/build/build/tmp/sysroots/qemuppc -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed  -I/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-ppc/build/build/tmp/work/ppc7400-poky-linux/wireless-tools/1_29-r4/wireless_tools.29  -O2 -pipe -g -feliminate-unused-debug-types -MMD     -o iwconfig iwconfig.o libiw.so.29 -lm
> | powerpc-poky-linux-gcc  -m32 -mhard-float -mcpu=7400 --sysroot=/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-ppc/build/build/tmp/sysroots/qemuppc -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed  -I/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-ppc/build/build/tmp/work/ppc7400-poky-linux/wireless-tools/1_29-r4/wireless_tools.29  -O2 -pipe -g -feliminate-unused-debug-types -MMD     -o iwlist iwlist.o libiw.so.29 -lm
> | powerpc-poky-linux-gcc  -m32 -mhard-float -mcpu=7400 --sysroot=/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-ppc/build/build/tmp/sysroots/qemuppc -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed  -I/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-ppc/build/build/tmp/work/ppc7400-poky-linux/wireless-tools/1_29-r4/wireless_tools.29  -O2 -pipe -g -feliminate-unused-debug-types -MMD     -o iwpriv iwpriv.o libiw.so.29 -lm
> | powerpc-poky-linux-gcc  -m32 -mhard-float -mcpu=7400 --sysroot=/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-ppc/build/build/tmp/sysroots/qemuppc -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed  -I/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-ppc/build/build/tmp/work/ppc7400-poky-linux/wireless-tools/1_29-r4/wireless_tools.29  -O2 -pipe -g -feliminate-unused-debug-types -MMD     -o iwspy iwspy.o libiw.so.29 -lm
> | powerpc-poky-linux-gcc  -m32 -mhard-float -mcpu=7400 --sysroot=/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-ppc/build/build/tmp/sysroots/qemuppc -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed  -I/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-ppc/build/build/tmp/work/ppc7400-poky-linux/wireless-tools/1_29-r4/wireless_tools.29  -O2 -pipe -g -feliminate-unused-debug-types -MMD     -o iwgetid iwgetid.o libiw.so.29 -lm
> | powerpc-poky-linux-gcc  -m32 -mhard-float -mcpu=7400 --sysroot=/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-ppc/build/build/tmp/sysroots/qemuppc -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed  -I/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-ppc/build/build/tmp/work/ppc7400-poky-linux/wireless-tools/1_29-r4/wireless_tools.29  -O2 -pipe -g -feliminate-unused-debug-types -MMD     -o iwevent iwevent.o libiw.so.29 -lm
> | libiw.so.29: undefined reference to `ceil'
> | libiw.so.29: undefined reference to `pow'
> | libiw.so.29: undefined reference to `log10'
> | libiw.so.29: undefined reference to `floor'
> | collect2: error: ld returned 1 exit status
> | make: *** [iwconfig] Error 1
> | make: *** Waiting for unfinished jobs....
> | libiw.so.29: undefined reference to `ceil'
> | libiw.so.29: undefined reference to `pow'
> | libiw.so.29: undefined reference to `log10'
> | libiw.so.29: undefined reference to `floor'
> | collect2: error: ld returned 1 exit status
> | make: *** [iwgetid] Error 1
> | libiw.so.29: undefined reference to `ceil'
> | libiw.so.29: undefined reference to `pow'
> | libiw.so.29: undefined reference to `log10'
> | libiw.so.29: undefined reference to `floor'
> | collect2: error: ld returned 1 exit status
> | make: *** [iwspy] Error 1
> | libiw.so.29: undefined reference to `ceil'
> | libiw.so.29: undefined reference to `pow'
> | libiw.so.29: undefined reference to `log10'
> | libiw.so.29: undefined reference to `floor'
> | collect2: error: ld returned 1 exit status
> | make: *** [iwpriv] Error 1
> | libiw.so.29: undefined reference to `ceil'
> | libiw.so.29: undefined reference to `pow'
> | libiw.so.29: undefined reference to `log10'
> | libiw.so.29: undefined reference to `floor'
> | collect2: error: ld returned 1 exit status
> | make: *** [iwlist] Error 1
> | libiw.so.29: undefined reference to `ceil'
> | libiw.so.29: undefined reference to `pow'
> | libiw.so.29: undefined reference to `log10'
> | libiw.so.29: undefined reference to `floor'
> | collect2: error: ld returned 1 exit status
> | make: *** [iwevent] Error 1
> | ERROR: oe_runmake failed


Link to the AB example, this is one of many.

http://autobuilder.yoctoproject.org/main/builders/nightly-ppc/builds/54/steps/Building%20Images/logs/stdio


Sau!

> Thanks
>
> -Khem
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-core
>
>


  parent reply	other threads:[~2013-12-19 15:21 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-12-16 20:03 [RFC] Binutils upgrade to 2.24 Khem Raj
2013-12-16 20:08 ` Saul Wold
2013-12-19 15:21 ` Saul Wold [this message]
2014-01-30  4:33   ` Khem Raj
2014-01-31 21:36     ` Saul Wold
2014-01-31 22:08       ` Khem Raj
2014-01-31 22:35         ` Saul Wold
2014-01-31 23:42           ` Khem Raj
2014-02-01  9:05             ` Khem Raj

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=52B30EE5.6050901@linux.intel.com \
    --to=sgw@linux.intel.com \
    --cc=Openembedded-devel@lists.openembedded.org \
    --cc=openembedded-core@lists.openembedded.org \
    --cc=raj.khem@gmail.com \
    /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