Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Gustavo Zacarias <gustavo@zacarias.com.ar>
To: buildroot@busybox.net
Subject: [Buildroot] oprofile "requires" gmp???
Date: Wed, 29 Dec 2010 19:01:48 -0300	[thread overview]
Message-ID: <4D1BAFCC.3040302@zacarias.com.ar> (raw)
In-Reply-To: <9AC3F0E75060224C8BBC5BA2DDC8853A1EAEBBAB@EXV1.corp.adtran.com>

On 12/29/2010 06:54 PM, ANDY KENNEDY wrote:

> /root/src/PRODUCTION/newbuildroo/buildroot-gz/output/host/usr/lib/gcc/mi
> ps-unknown-linux-uclibc/4.5.2/../../../../mips-unknown-linux-uclibc/bin/
> ld: BFD (GNU Binutils) 2.21 assertion fail elfxx-mips.c:3157
> /root/src/PRODUCTION/newbuildroo/buildroot-gz/output/host/usr/lib/gcc/mi
> ps-unknown-linux-uclibc/4.5.2/../../../../mips-unknown-linux-uclibc/bin/
> ld: BFD (GNU Binutils) 2.21 assertion fail elfxx-mips.c:3161
> libpthread/nptl/libpthread_so.a(sem_unlink.oS): In function
> `sem_unlink':
> (.text+0x10): relocation truncated to fit: R_MIPS_CALL16 against
> `__pthread_once'
> collect2: ld returned 1 exit status
> make[1]: *** [lib/libpthread.so] Error 1
> make[1]: Leaving directory
> `/root/src/PRODUCTION/newbuildroo/buildroot-gz/output/toolchain/uClibc-0
> .9.32-rc1'
> make: ***
> [/root/src/PRODUCTION/newbuildroo/buildroot-gz/output/toolchain/uClibc-0
> .9.32-rc1/lib/libc.a] Error 2

Tweak your uclibc config file and do UCLIBC_EXTRA_CFLAGS="-mxgot" and
watch the problem dissapear :-)
I'm still pondering if we should provide an option to tweak uclibc build
cflags, on one side it's nice to debug this issues, on the other it's a
sharp knife - it all boils down on usage.

  reply	other threads:[~2010-12-29 22:01 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-12-23  4:47 [Buildroot] oprofile "requires" gmp??? ANDY KENNEDY
2010-12-23  7:27 ` Thomas Petazzoni
2010-12-23 19:03   ` ANDY KENNEDY
2010-12-24  8:05     ` Thomas Petazzoni
2010-12-27 18:15       ` ANDY KENNEDY
2010-12-27 18:15         ` Gustavo Zacarias
2010-12-27 18:18           ` Gustavo Zacarias
     [not found]             ` <9AC3F0E75060224C8BBC5BA2DDC8853A1EAEB132@EXV1.corp.adtran.com>
2010-12-28 13:04               ` Gustavo Zacarias
2010-12-28 16:19                 ` [Buildroot] oprofile "requires" gmp??? Slight fork: BR2_STAGING_DIR ANDY KENNEDY
2010-12-28 21:21                   ` Gustavo Zacarias
2010-12-28 22:31                     ` ANDY KENNEDY
2010-12-29 10:57                     ` Thomas Petazzoni
2010-12-29 11:21                       ` Peter Korsgaard
2010-12-29 21:02                 ` [Buildroot] oprofile "requires" gmp??? ANDY KENNEDY
2010-12-29 21:10                   ` Peter Korsgaard
2010-12-29 21:54                     ` ANDY KENNEDY
2010-12-29 22:01                       ` Gustavo Zacarias [this message]
2010-12-29 22:41                 ` ANDY KENNEDY
2010-12-29 23:26                 ` ANDY KENNEDY

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=4D1BAFCC.3040302@zacarias.com.ar \
    --to=gustavo@zacarias.com.ar \
    --cc=buildroot@busybox.net \
    /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