This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Android Native GCC 4.9.2 Build Fails at Dynamic libgcc


On 01/01/15 22:51, Cyd Haselton wrote:
>> /android_root/system/bin/sh ./libtool --tag=CC --tag=disable-static
>> > --mode=link gcc --sysroot=/usr/gcc-4.8.4/sysroot -Wall -Wall -O
>> > -mandroid -mbionic  -module -bindir
>> > /usr/gcc-4.8.4/libexec/gcc/arm-linux-androideabi/4.8.4
>> > -static-libstdc++ -static-libgcc
>> > -Wl,--dynamic-linker=/system/bin/linker -lc -ldl -lgcc -lm -o
>> > liblto_plugin.la -rpath
>> > /usr/gcc-4.8.4/libexec/gcc/arm-linux-androideabi/4.8.4 lto-plugin.lo
>> > -Wc,../libiberty/pic/libiberty.a
>> >
>> > There were others, but I'll hold off including them unless the above
>> > are not relevant to my issue.
> Polite bump just in case reply was missed.
> 
> Since the above post I've tried replacing the -static-libgcc reference
> in the top level Makefile with -shared-libgcc (which results in a slew
> of errors), specifying the stage1, boot and poststage1 libs in the
> Makefile with the same libs specified in configure (which doesn't
> work) and adding the same options from the LDFLAGS I specified in the
> top-level configure to the post stage1 LDFLAGS and stage1 LDFLAGS.  No
> success so far.
> 
> I still have the build logs from 4.8 and 4.9...I can upload them if
> they would be of use in diagnosing this issue.

Tell us the command which failed and the command which succeeded and
the output.  We can then look at the difference.  We're not
clairvoyant!

Andrew.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]