Native GCC 4.9.0 Build Fails Building/Linking libgcc_s_so with Undefined Symbol
Cyd Haselton
chaselton@gmail.com
Sun Nov 23 22:43:00 GMT 2014
On Sun, Nov 23, 2014 at 3:43 PM, Jonathan Wakely <jwakely.gcc@gmail.com> wrote:
> On 23 November 2014 at 20:47, Cyd Haselton wrote:
>>
>> After make failed (again at libgcc) I navigated to the gcc dir in the
>> build folder and ran configure.
>>
>> ../../gcc-4.9.1/gcc/configure --prefix=/usr/gcc-4.9
>> --build=arm-linux-androideabi --host=arm-linux-androideabi
>> --target=arm-linux-androideabi
>> --with-build-libsubdir=/usr/gcc-4.8/sysroot/usr/lib
>> --with-native-system-header-dir=/usr/gcc-4.8/sysroot/usr/include
>> --with-build-sysroot=/usr/gcc-4.8/sysroot
>> --with-sysroot=/usr/gcc-4.8/sysroot LIBS=-ldl
>> LDFLAGS=-Wl,--dynamic-linker=/system/bin/linker
>> -L/usr/gcc-4.8/sysroot/usr/lib
>
> Have you tried not adding LIBS here?
Sorry...I misread your question...yes I have tried NOT setting LIBS in
configure and setting them in the env instead...i.e. 'export LIBS='-lc
-ldl' with the same result.
More information about the Gcc-help
mailing list