This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: Native GCC 4.9.0 Build Fails Building/Linking libgcc_s_so with Undefined Symbol
- From: Cyd Haselton <chaselton at gmail dot com>
- To: Jonathan Wakely <jwakely dot gcc at gmail dot com>
- Cc: "gcc-help at gcc dot gnu dot org" <gcc-help at gcc dot gnu dot org>
- Date: Sun, 23 Nov 2014 16:43:11 -0600
- Subject: Re: Native GCC 4.9.0 Build Fails Building/Linking libgcc_s_so with Undefined Symbol
- Authentication-results: sourceware.org; auth=none
- References: <CAHu5PrZzf7wa1Y1mWjyb_XrLkksCw04PLRKQNNBvy-tsogGWdw at mail dot gmail dot com> <alpine dot DEB dot 2 dot 11 dot 1411162341210 dot 1590 at laptop-mg dot saclay dot inria dot fr> <CAHu5Prb3OUk3SyDkwzzJ7NxVvh=2uNYeV4ch2O4Q1moACS-N=w at mail dot gmail dot com> <CAH6eHdS--Rd8WKedsCpwFyVF__xbaKda6FQLVxpkUM1maMogDw at mail dot gmail dot com> <CAHu5PraQfHcbCYhsF9gqMKsfNiLtOHdpfOB7_U4uWGUvAY7_zA at mail dot gmail dot com> <CAHu5PrYVdg=Kmb4aGwtoz++EPrAuVKBbZzUJ48j_+CRdV7buEg at mail dot gmail dot com> <CAH6eHdSL6OMD8eXicCsz_+3xoAQc+Km+DRqasuBZ=xA0SaoZPg at mail dot gmail dot com> <CAHu5PrYM_n7+XrpS+gDVn-BnBxuwtbvE9k_2HiSf5ordfiMphA at mail dot gmail dot com> <CAHu5PrZkHLkeOQJYjC9--qTfW3k_MHix+U0pQJ8yXFYP2JFr1A at mail dot gmail dot com> <CAH6eHdTqaC=wdaQjze-hyvyCq-pwMEWUdiOzx7Ss6NhqFwQ11w at mail dot gmail dot com>
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.