hidden symbol errors compilingwpa_supplicant with buildroot

Jouni Malinen j at w1.fi
Mon May 7 23:30:15 EDT 2007

On Mon, May 07, 2007 at 10:40:36AM -0700, Joel Lindsay wrote:

> I am cross compiling 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.

I haven't tested gcc 4.2 with ARM builds, but I have no problems
building and linking wpa_supplicant with gcc 3.4.1 for armeb using

> /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

This sounds like a toolchain/configuration issue.. Are you only seeing
this with wpa_supplicant build? Have you tried building something else
that uses the same libraries (namely OpenSSL in this case)?

Jouni Malinen                                            PGP id EFC895FA

More information about the HostAP mailing list