Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Joel Lindsay <joel@waveteq.com>
To: buildroot@busybox.net
Subject: [Buildroot] hidden symbol errors when compiling
Date: Mon, 7 May 2007 11:15:31 -0700	[thread overview]
Message-ID: <012a01c790d3$b322ccd0$aa64a8c0@JOELDESKTOP> (raw)

Hi,

I am cross compiling a package (wpa_supplicant) into the latest version of buildroot (binutils 2.17.1, GCC 4.2)

I am getting linker problems I don't understand, and am not sure whats causing it.  They have something to do with a hidden symbol in libgcc.a.  I am compiling against uClibc 0.9.28.

Any help would be appreciated.  Attached is the compiler error.  I have seen some messages that say to tweak some compat settings in uClibc, but I couldn't find the settings.

make[1]: Entering directory `/home/joel/projects/buildroot/build_armeb/wpa_supplicant-0.4.7'
/home/joel/projects/buildroot/build_armeb/staging_dir/bin/armeb-linux-uclibc-gcc -o wpa_supplicant config.o eloop.o common.o md5.o rc4.o sha1.o config_file.o base64.o l2_packet_linux.o eap_tls.o eap_peap.o eap_ttls.o eap_md5.o eap_mschapv2.o eap_leap.o eap_tlv.o eapol_sm.o eap.o eap_tls_common.o tls_openssl.o ms_funcs.o crypto.o wpa.o preauth.o aes_wrap.o wpa_supplicant.o events.o main.o drivers.o driver_madwifi.o driver_wext.o -L/home/joel/projects/buildroot/build_armeb/openssl-0.9.7e/ -lssl -lcrypto
/home/joel/projects/buildroot/build_armeb/staging_dir/lib/gcc/armeb-linux-uclibc/4.2.0/../../../../armeb-linux-uclibc/bin/ld: wpa_supplicant: hidden symbol `__clz_tab' in /home/joel/projects/buildroot/build_armeb/staging_dir/lib/gcc/armeb-linux-uclibc/4.2.0/libgcc.a(_clz.o) is referenced by DSO
/home/joel/projects/buildroot/build_armeb/staging_dir/lib/gcc/armeb-linux-uclibc/4.2.0/../../../../armeb-linux-uclibc/bin/ld: final link failed: Nonrepresentable section on output
collect2: ld returned 1 exit status
make[1]: *** [wpa_supplicant] Error 1
make[1]: Leaving directory `/home/joel/projects/buildroot/build_armeb/wpa_supplicant-0.4.7'
make: *** [/home/joel/projects/buildroot/build_armeb/wpa_supplicant-0.4.7/wpa_supplicant] Error 2

Thanks,

Joel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://busybox.net/lists/buildroot/attachments/20070507/0a41e3de/attachment.htm 

                 reply	other threads:[~2007-05-07 18:15 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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='012a01c790d3$b322ccd0$aa64a8c0@JOELDESKTOP' \
    --to=joel@waveteq.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