This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/84755] New: GCC 4.6.0 build error with GCC-4.8.5 in Ubuntu 16.04 LTS
- From: "lux1075 at naver dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 08 Mar 2018 01:45:59 +0000
- Subject: [Bug c/84755] New: GCC 4.6.0 build error with GCC-4.8.5 in Ubuntu 16.04 LTS
- Auto-submitted: auto-generated
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84755
Bug ID: 84755
Summary: GCC 4.6.0 build error with GCC-4.8.5 in Ubuntu 16.04
LTS
Product: gcc
Version: 4.6.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c
Assignee: unassigned at gcc dot gnu.org
Reporter: lux1075 at naver dot com
Target Milestone: ---
Created attachment 43590
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=43590&action=edit
make all-target-libgcc error log
Hello, gcc
I have an compile error when building GCC 4.6.0
My host env is Ubuntu 16.04 64bit LTS (kernel was installed 4.13.0-36-generic)
and
gcc-4.8.5
=============================================================================
$ gcc -v
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/4.8/lto-wrapper
Target: x86_64-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Ubuntu 4.8.5-4ubuntu2'
--with-bugurl=file:///usr/share/doc/gcc-4.8/README.Bugs
--enable-languages=c,c++,java,go,d,fortran,objc,obj-c++ --prefix=/usr
--program-suffix=-4.8 --enable-shared --enable-linker-build-id
--libexecdir=/usr/lib --without-included-gettext --enable-threads=posix
--with-gxx-include-dir=/usr/include/c++/4.8 --libdir=/usr/lib --enable-nls
--with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug
--enable-libstdcxx-time=yes --enable-gnu-unique-object --disable-libmudflap
--enable-plugin --with-system-zlib --disable-browser-plugin
--enable-java-awt=gtk --enable-gtk-cairo
--with-java-home=/usr/lib/jvm/java-1.5.0-gcj-4.8-amd64/jre --enable-java-home
--with-jvm-root-dir=/usr/lib/jvm/java-1.5.0-gcj-4.8-amd64
--with-jvm-jar-dir=/usr/lib/jvm-exports/java-1.5.0-gcj-4.8-amd64
--with-arch-directory=amd64 --with-ecj-jar=/usr/share/java/eclipse-ecj.jar
--enable-objc-gc --enable-multiarch --disable-werror --with-arch-32=i686
--with-abi=m64 --with-multilib-list=m32,m64,mx32 --with-tune=generic
--enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu
--target=x86_64-linux-gnu
Thread model: posix
gcc version 4.8.5 (Ubuntu 4.8.5-4ubuntu2)
=============================================================================
I downloaded, compiled and installed : M4(1.4.18), GMP(5.0.3), MPFR(3.0.1),
MPC(0.9), PPL(0.11.2), CLoog-PPL(0.15.11), BinUtils(2.21.1a)
Before GCC-4.6.0 Configuring, I patched 3 files : (attached file)
- gcc-4.6.0-branch_update-1.patch
- gcc-4.6.0-pure64_specs-1.patch
- gcc-4.6.0-jslim.patch
I GCC-4.6.0 configured like this:
AR=ar LDFLAGS="-Wl,-rpath,/home/jslim/toolchain/cross-tools/lib"
../gcc-4.6.0/configure --prefix=/home/jslim/toolchain/cross-tools
--build=x86_64-cross-linux-gnu --host=x86_64-cross-linux-gnu
--target=x86_64-unknown-linux-gnu --with-sysroot=/home/jslim/toolchain
--with-local-prefix=/home/jslim/toolchain/tools --disable-nls --disable-shared
--with-mpfr=/home/jslim/toolchain/cross-tools
--with-gmp=/home/jslim/toolchain/cross-tools
--with-ppl=/home/jslim/toolchain/cross-tools
--with-cloog=/home/jslim/toolchain/cross-tools --without-headers --with-newlib
--disable-decimal-float --disable-libgomp --disable-libmudflap --disable-libssp
--disable-threads --enable-languages=c --disable-multilib
* I attached "config.log" file
GCC-4.6.0 Configuring done, and I followed make steps like this:
make all-gcc // This step seemed fine. (attached
"compile_all-gcc.log" file)
make all-target-libgcc // This step failed. I attached
"compile_all-target-libgcc.log" file
Please help me.
I hope let me know what was fault and how to do.
Thanks.
PS. this bug reporting can attachment only one file. So, I attached
"compile_all-target-libgcc.log" file only. If you want more files(config.log,
patch files ...), plz request for me.