https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84199

            Bug ID: 84199
           Summary: Error building gcc 7.3.0 on Odroid XU4 (ARM, Ubuntu):
                    cannot load liblto_plugin.so
           Product: gcc
           Version: 7.3.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: bootstrap
          Assignee: unassigned at gcc dot gnu.org
          Reporter: bugzi...@poradnik-webmastera.com
  Target Milestone: ---

Created attachment 43337
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=43337&action=edit
Full build log

I was trying to build gcc 7.3.0 on Odroid XU4 (ARM, Ubuntu) but build failed
with following error:

/gcc/build/./gcc/xgcc -B/gcc/build/./gcc/
-B/gcc-7.3.0/armv7l-unknown-linux-gnueabihf/bin/
-B/gcc-7.3.0/armv7l-unknown-linux-gnueabihf/lib/ -isystem
/gcc-7.3.0/armv7l-unknown-linux-gnueabihf/include -isystem
/gcc-7.3.0/armv7l-unknown-linux-gnueabihf/sys-include    -O2  -g -O2 -DIN_GCC  
 -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wstrict-prototypes
-Wmissing-prototypes -Wold-style-definition  -isystem ./include   -fPIC
-fno-inline -g -DIN_LIBGCC2 -fbuilding-libgcc -fno-stack-protector  -shared
-nodefaultlibs -Wl,--soname=libgcc_s.so.1 -Wl,--version-script=libgcc.map -o
./libgcc_s.so.1.tmp -g -O2 -B./ _thumb1_case_sqi_s.o _thumb1_case_uqi_s.o
_thumb1_case_shi_s.o _thumb1_case_uhi_s.o _thumb1_case_si_s.o _udivsi3_s.o
_divsi3_s.o _umodsi3_s.o _modsi3_s.o _bb_init_func_s.o _call_via_rX_s.o
_interwork_call_via_rX_s.o _lshrdi3_s.o _ashrdi3_s.o _ashldi3_s.o
_arm_negdf2_s.o _arm_addsubdf3_s.o 
[cut cut cut]
eqdf2_s.o gedf2_s.o ledf2_s.o muldf3_s.o negdf2_s.o subdf3_s.o unorddf2_s.o
fixdfsi_s.o floatsidf_s.o floatunsidf_s.o extendsfdf2_s.o truncdfsf2_s.o
enable-execute-stack_s.o unwind-arm_s.o libunwind_s.o pr-support_s.o
unwind-c_s.o emutls_s.o libgcc.a -lc && rm -f ./libgcc_s.so && if [ -f
./libgcc_s.so.1 ]; then mv -f ./libgcc_s.so.1 ./libgcc_s.so.1.backup; else
true; fi && mv ./libgcc_s.so.1.tmp ./libgcc_s.so.1 && (echo "/* GNU ld script";
echo "   Use the shared library, but some functions are only in"; echo "   the
static library.  */"; echo "GROUP ( libgcc_s.so.1 -lgcc )" ) > ./libgcc_s.so
/usr/bin/ld: /gcc/build/./gcc/liblto_plugin.so: error loading plugin:
/gcc/build/./gcc/liblto_plugin.so: cannot open shared object file: No such file
or directory
collect2: error: ld returned 1 exit status
Makefile:977: recipe for target 'libgcc_s.so' failed
make[3]: *** [libgcc_s.so] Error 1
make[3]: Leaving directory '/gcc/build/armv7l-unknown-linux-gnueabihf/libgcc'
Makefile:21293: recipe for target 'all-stage2-target-libgcc' failed
make[2]: *** [all-stage2-target-libgcc] Error 2
make[2]: Leaving directory '/gcc/build'
Makefile:26191: recipe for target 'stage2-bubble' failed
make[1]: *** [stage2-bubble] Error 2
make[1]: Leaving directory '/gcc/build'
Makefile:939: recipe for target 'all' failed
make: *** [all] Error 2


odroid@odroid-linux-1:~$ gcc --version
gcc (Ubuntu/Linaro 5.4.0-6ubuntu1~16.04.6) 5.4.0 20160609
Copyright (C) 2015 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

odroid@odroid-linux-1:~$ uname -a
Linux odroid-linux-1 3.10.105-138 #1 SMP PREEMPT Fri Apr 7 12:40:29 UTC 2017
armv7l armv7l armv7l GNU/Linux

odroid@odroid-linux-1:~$ cat /etc/*release*
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=16.04
DISTRIB_CODENAME=xenial
DISTRIB_DESCRIPTION="Ubuntu 16.04.3 LTS"
NAME="Ubuntu"
VERSION="16.04.3 LTS (Xenial Xerus)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 16.04.3 LTS"
VERSION_ID="16.04"
HOME_URL="http://www.ubuntu.com/";
SUPPORT_URL="http://help.ubuntu.com/";
BUG_REPORT_URL="http://bugs.launchpad.net/ubuntu/";
VERSION_CODENAME=xenial
UBUNTU_CODENAME=xenial
odroid@odroid-linux-1:~$

Reply via email to