Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
To: buildroot@busybox.net
Subject: [Buildroot] glibc instead of ulibc ?
Date: Fri, 3 Aug 2012 15:03:31 +0200	[thread overview]
Message-ID: <20120803150331.2c7b80f7@skate> (raw)
In-Reply-To: <1343998766.23838.YahooMailNeo@web164606.mail.gq1.yahoo.com>

Hello,

Le Fri, 3 Aug 2012 05:59:26 -0700 (PDT),
Zoran Djordjevic <djdjdjole@yahoo.com> a ?crit :

> Regarding problem "undefined refernece?to c", I found,
> using "nm" command that this function does not exist in uClibc, and 
> it does in glibc (although for i386, but I expect?also in ARM
> case).Seems to me obvious that some file in my GUI project (as error
> report declares) - ask for __libc_start_main function and certainly
> not find it in libc.so (ie uClibc).

This most likely means that you haven't built your program with the
right compiler. If you had built it with the compiler generated by
Buildroot, which generates programs linked against uClibc, you most
likely wouldn't have this problem.

Please double check how you're building your program.

> So I intend to build root file
> system with glibc and want to ask you if?it is OK to choose
> (menuconfig): Toolchain type (CrosstoolNG- toolchain) and immediately
> below: CrosstoolNG- C library (glibc) ? The?other adjustments I would
> not change.

Sounds good.

> What confuses me is that my compiler asked at some moment
> for?"ld-uClibc.so" library and I don't know what would happened if
> I?build with?glibc.

"at some moment" is way too vague to have any sort of useful technical
discussion, unfortunately.

> And at last - do I have to rebuild all if I change toolchain the way
> I described ?

You have to rebuild everything.

Thomas
-- 
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com

  reply	other threads:[~2012-08-03 13:03 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-08-01 21:01 [Buildroot] glibc instead of ulibc ? Zoran Djordjevic
2012-08-01 21:16 ` Thomas Petazzoni
     [not found]   ` <1343913806.30162.YahooMailNeo@web164601.mail.gq1.yahoo.com>
2012-08-02 13:26     ` Thomas Petazzoni
2012-08-02 19:38       ` Zoran Djordjevic
2012-08-02 19:42         ` Thomas Petazzoni
2012-08-02 22:00           ` Zoran Djordjevic
2012-08-03 13:06             ` Thomas Petazzoni
2012-08-03 14:32               ` Zoran Djordjevic
2012-08-03 14:44                 ` Eric Bénard
2012-08-03 12:59           ` Zoran Djordjevic
2012-08-03 13:03             ` Thomas Petazzoni [this message]
     [not found]               ` <1344004443.52239.YahooMailNeo@web164602.mail.gq1.yahoo.com>
2012-08-03 14:42                 ` Thomas Petazzoni

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=20120803150331.2c7b80f7@skate \
    --to=thomas.petazzoni@free-electrons.com \
    --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