Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 227841 - gcc-4.3.1 fails to build with USE=fortran: in libgfortran
Summary: gcc-4.3.1 fails to build with USE=fortran: in libgfortran
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-06-17 16:07 UTC by Andrey Kislyuk (RETIRED)
Modified: 2008-06-22 01:21 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge --info (einfo,3.84 KB, text/plain)
2008-06-17 16:08 UTC, Andrey Kislyuk (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Andrey Kislyuk (RETIRED) gentoo-dev 2008-06-17 16:07:29 UTC
Fails with both gcc-4.1.2 and 4.3.1.

blackbird ~ # emerge =gcc-4.3.1
Calculating dependencies... done!
>>> Verifying ebuild Manifests...

>>> Emerging (1 of 1) sys-devel/gcc-4.3.1 to /
 * gcc-4.3.1-patches-1.0.tar.bz2 RMD160 SHA1 SHA256 size ;-) ...                                                                                   [ ok ]
 * gcc-4.3.1.tar.bz2 RMD160 SHA1 SHA256 size ;-) ...                                                                                               [ ok ]
 * gcc-4.3.1-uclibc-patches-1.0.tar.bz2 RMD160 SHA1 SHA256 size ;-) ...                                                                            [ ok ]
 * checking ebuild checksums ;-) ...                                                                                                               [ ok ]
 * checking auxfile checksums ;-) ...                                                                                                              [ ok ]
 * checking miscfile checksums ;-) ...                                                                                                             [ ok ]
 * checking gcc-4.3.1.tar.bz2 ;-) ...                                                                                                              [ ok ]
 * checking gcc-4.3.1-uclibc-patches-1.0.tar.bz2 ;-) ...                                                                                           [ ok ]
 * checking gcc-4.3.1-patches-1.0.tar.bz2 ;-) ...                                                                                                  [ ok ]
>>> Unpacking source...
>>> Unpacking gcc-4.3.1.tar.bz2 to /var/tmp/portage/sys-devel/gcc-4.3.1/work
>>> Unpacking gcc-4.3.1-patches-1.0.tar.bz2 to /var/tmp/portage/sys-devel/gcc-4.3.1/work
>>> Unpacking gcc-4.3.1-uclibc-patches-1.0.tar.bz2 to /var/tmp/portage/sys-devel/gcc-4.3.1/work
 * Applying Gentoo patches ...
 *   00_all_gcc-4.1-alpha-mieee-default.patch ...                                                                                                  [ ok ]
 *   00_all_gcc-trampolinewarn.patch ...                                                                                                           [ ok ]
 *   03_all_gcc43-java-nomulti.patch ...                                                                                                           [ ok ]
 *   08_all_gcc-4.1-cross-compile.patch ...                                                                                                        [ ok ]
 *   11_all_gcc-netbsd-symbolic.patch ...                                                                                                          [ ok ]
 *   14_all_gcc-sparc64-bsd.patch ...                                                                                                              [ ok ]
 *   18_all_904-flatten-switch-stmt-00.patch ...                                                                                                   [ ok ]
 *   51_all_gcc-3.4-libiberty-pic.patch ...                                                                                                        [ ok ]
 *   53_all_gcc4-superh-default-multilib.patch ...                                                                                                 [ ok ]
 *   54_all_300-libstdc++-pic.patch ...                                                                                                            [ ok ]
 *   61_all_gcc43-pr24170.patch ...                                                                                                                [ ok ]
 *   61_all_gcc4-ia64-noteGNUstack.patch ...                                                                                                       [ ok ]
 *   62_all_gcc4-noteGNUstack.patch ...                                                                                                            [ ok ]
 *   64_all_gcc43-pr34571.patch ...                                                                                                                [ ok ]
 *   66_all_gcc43-pr25343.patch ...                                                                                                                [ ok ]
 *   74_all_sh-pr24836.patch ...                                                                                                                   [ ok ]
 * Done with patching
 * Applying uClibc patches ...
 *   90_all_103-uclibc-conf-noupstream.patch ...                                                                                                   [ ok ]
 *   90_all_200-uclibc-locale.patch ...                                                                                                            [ ok ]
 *   90_all_203-uclibc-locale-no__x.patch ...                                                                                                      [ ok ]
 *   90_all_204-uclibc-locale-wchar_fix.patch ...                                                                                                  [ ok ]
 *   90_all_205-uclibc-locale-update.patch ...                                                                                                     [ ok ]
 *   90_all_301-missing-execinfo_h.patch ...                                                                                                       [ ok ]
 *   90_all_303-c99-complex-ugly-hack.patch ...                                                                                                    [ ok ]
 *   90_all_304-index_macro.patch ...                                                                                                              [ ok ]
 *   90_all_305-libmudflap-susv3-legacy.patch ...                                                                                                  [ ok ]
 *   90_all_306-libstdc++-namespace.patch ...                                                                                                      [ ok ]
 * Done with patching
 * Replacing obsolete head/tail with POSIX compliant ones
 *  - fixed contrib/test_summary
 *  - fixed boehm-gc/configure
 *  - fixed fixincludes/configure
 *  - fixed gcc/configure
 *  - fixed gnattools/configure
 *  - fixed intl/configure
 *  - fixed libada/configure
 *  - fixed libcpp/configure
 *  - fixed libdecnumber/configure
 *  - fixed libffi/configure
 *  - fixed libgcc/configure
 *  - fixed libgfortran/configure
 *  - fixed libgomp/configure
 *  - fixed libiberty/configure
 *  - fixed libjava/configure
 *  - fixed libmudflap/configure
 *  - fixed libobjc/configure
 *  - fixed libssp/configure
 *  - fixed libstdc++-v3/configure
 *  - fixed zlib/configure
 *  - fixed ltmain.sh
 *  - fixed boehm-gc/Makefile.in
 *  - fixed fixincludes/Makefile.in
 *  - fixed gcc/Makefile.in
 *  - fixed gnattools/Makefile.in
 *  - fixed intl/Makefile.in
 *  - fixed libada/Makefile.in
 *  - fixed libcpp/Makefile.in
 *  - fixed libdecnumber/Makefile.in
 *  - fixed libffi/Makefile.in
 *  - fixed libgcc/Makefile.in
 *  - fixed libgfortran/Makefile.in
 *  - fixed libgomp/Makefile.in
 *  - fixed libiberty/Makefile.in
 *  - fixed libjava/Makefile.in
 *  - fixed libmudflap/Makefile.in
 *  - fixed libobjc/Makefile.in
 *  - fixed libssp/Makefile.in
 *  - fixed libstdc++-v3/Makefile.in
 *  - fixed zlib/Makefile.in
 * Running elibtoolize in: gcc-4.3.1
 *   Applying install-sh-1.5.4.patch ...
 *   Applying portage-2.2.patch ...
 *   Applying sed-1.5.6.patch ...
 * Using GNU config files from /usr/share/libtool
 *   Updating libjava/classpath/config.sub                                                                                                         [ ok ]
 *   Updating libjava/libltdl/config.sub                                                                                                           [ ok ]
 *   Updating config.sub                                                                                                                           [ ok ]
 *   Updating config.guess                                                                                                                         [ ok ]
 *   Updating libjava/classpath/config.guess                                                                                                       [ ok ]
 *   Updating libjava/libltdl/config.guess                                                                                                         [ ok ]
 * Fixing misc issues in configure files
 * Applying gcc-configure-texinfo.patch ...                                                                                                        [ ok ]
 * Touching generated files
 *   Touching gcc/cstamp-h.in
 *   Touching gcc/config.in
 *   Touching libjava/aclocal.m4
 *   Touching libjava/Makefile.in
 *   Touching libjava/configure
 * Applying gcc-spec-env.patch ...                                                                                                                 [ ok ]
>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/sys-devel/gcc-4.3.1/work/gcc-4.3.1 ...
 * CFLAGS="-march=pentium-m -pipe -O2"
 * CXXFLAGS="-march=pentium-m -pipe -O2"
 * Configuring gcc ...
 * running gcc-compiler-configure
 * QA Notice: USE Flag 'objc++' not in IUSE for sys-devel/gcc-4.3.1
 * configuring for GCC_LANG: c,c++,treelang,fortran

 * PREFIX:                      /usr
 * BINPATH:                     /usr/i686-pc-linux-gnu/gcc-bin/4.3.1
 * LIBPATH:                     /usr/lib/gcc/i686-pc-linux-gnu/4.3.1
 * DATAPATH:            /usr/share/gcc-data/i686-pc-linux-gnu/4.3.1
 * STDCXX_INCDIR:       /usr/lib/gcc/i686-pc-linux-gnu/4.3.1/include/g++-v4

 * Configuring GCC with:
        --prefix=/usr
        --bindir=/usr/i686-pc-linux-gnu/gcc-bin/4.3.1
        --includedir=/usr/lib/gcc/i686-pc-linux-gnu/4.3.1/include
        --datadir=/usr/share/gcc-data/i686-pc-linux-gnu/4.3.1
        --mandir=/usr/share/gcc-data/i686-pc-linux-gnu/4.3.1/man
        --infodir=/usr/share/gcc-data/i686-pc-linux-gnu/4.3.1/info
        --with-gxx-include-dir=/usr/lib/gcc/i686-pc-linux-gnu/4.3.1/include/g++-v4
        --host=i686-pc-linux-gnu
        --build=i686-pc-linux-gnu
        --disable-altivec
        --enable-nls
        --without-included-gettext
        --with-system-zlib
        --disable-checking
        --disable-werror
        --enable-secureplt
        --disable-multilib
        --enable-libmudflap
        --disable-libssp
        --enable-cld
        --disable-libgcj
        --with-arch=i686
        --enable-languages=c,c++,treelang,fortran
        --enable-shared
        --enable-threads=posix
        --enable-__cxa_atexit
        --enable-clocale=gnu
        --with-bugurl=http://bugs.gentoo.org/
        --with-pkgversion=Gentoo 4.3.1 p1.0

<snip>

if /bin/sh ./libtool --tag=CC --mode=compile /var/tmp/portage/sys-devel/gcc-4.3.1/work/build/./gcc/xgcc -B/var/tmp/portage/sys-devel/gcc-4.3.1/work/build/./gcc/ -B/usr/i686-pc-linux-gnu/bin/ -B/usr/i686-pc-linux-gnu/lib/ -isystem /usr/i686-pc-linux-gnu/include -isystem /usr/i686-pc-linux-gnu/sys-include -DHAVE_CONFIG_H -I. -I/var/tmp/portage/sys-devel/gcc-4.3.1/work/gcc-4.3.1/libgfortran -I.  -iquote/var/tmp/portage/sys-devel/gcc-4.3.1/work/gcc-4.3.1/libgfortran/io -I/var/tmp/portage/sys-devel/gcc-4.3.1/work/gcc-4.3.1/libgfortran/../gcc -I/var/tmp/portage/sys-devel/gcc-4.3.1/work/gcc-4.3.1/libgfortran/../gcc/config -I../.././gcc -D_GNU_SOURCE  -std=gnu99 -Wall -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wextra -Wwrite-strings -O2 -g -march=pentium-m -pipe -O2   -MT unix.lo -MD -MP -MF ".deps/unix.Tpo" -c -o unix.lo `test -f 'io/unix.c' || echo '/var/tmp/portage/sys-devel/gcc-4.3.1/work/gcc-4.3.1/libgfortran/'`io/unix.c; \
        then mv -f ".deps/unix.Tpo" ".deps/unix.Plo"; else rm -f ".deps/unix.Tpo"; exit 1; fi
libtool: compile:  /var/tmp/portage/sys-devel/gcc-4.3.1/work/build/./gcc/xgcc -B/var/tmp/portage/sys-devel/gcc-4.3.1/work/build/./gcc/ -B/usr/i686-pc-linux-gnu/bin/ -B/usr/i686-pc-linux-gnu/lib/ -isystem /usr/i686-pc-linux-gnu/include -isystem /usr/i686-pc-linux-gnu/sys-include -DHAVE_CONFIG_H -I. -I/var/tmp/portage/sys-devel/gcc-4.3.1/work/gcc-4.3.1/libgfortran -I. -iquote/var/tmp/portage/sys-devel/gcc-4.3.1/work/gcc-4.3.1/libgfortran/io -I/var/tmp/portage/sys-devel/gcc-4.3.1/work/gcc-4.3.1/libgfortran/../gcc -I/var/tmp/portage/sys-devel/gcc-4.3.1/work/gcc-4.3.1/libgfortran/../gcc/config -I../.././gcc -D_GNU_SOURCE -std=gnu99 -Wall -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wextra -Wwrite-strings -O2 -g -march=pentium-m -pipe -O2 -MT unix.lo -MD -MP -MF .deps/unix.Tpo -c /var/tmp/portage/sys-devel/gcc-4.3.1/work/gcc-4.3.1/libgfortran/io/unix.c  -fPIC -DPIC -o .libs/unix.o
{standard input}: Assembler messages:
{standard input}:6608: Error: symbol `fstatat64' is already defined
{standard input}:6645: Error: symbol `fstat64' is already defined
{standard input}:7459: Error: symbol `lstat64' is already defined
{standard input}:7492: Error: symbol `stat64' is already defined
make[3]: *** [unix.lo] Error 1
make[3]: Leaving directory `/var/tmp/portage/sys-devel/gcc-4.3.1/work/build/i686-pc-linux-gnu/libgfortran'
make[2]: *** [install] Error 2
make[2]: Leaving directory `/var/tmp/portage/sys-devel/gcc-4.3.1/work/build/i686-pc-linux-gnu/libgfortran'
make[1]: *** [install-target-libgfortran] Error 2
make[1]: Leaving directory `/var/tmp/portage/sys-devel/gcc-4.3.1/work/build'
make: *** [install] Error 2
 *
 * ERROR: sys-devel/gcc-4.3.1 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_install
 *             environment, line 4569:  Called toolchain_src_install
 *             environment, line 5038:  Called gcc-compiler_src_install
 *             environment, line 2374:  Called die
 * The specific snippet of code:
 *       S=${WORKDIR}/build make DESTDIR="${D}" install || die;
 *  The die message:
 *   (no error message)
 *
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/sys-devel/gcc-4.3.1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/sys-devel/gcc-4.3.1/temp/environment'.
 *
Comment 1 Andrey Kislyuk (RETIRED) gentoo-dev 2008-06-17 16:08:53 UTC
Created attachment 157303 [details]
emerge --info
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2008-06-17 16:34:45 UTC
Isn't this a dupe of bug #226651?
Comment 3 Jeroen Roovers (RETIRED) gentoo-dev 2008-06-17 16:43:25 UTC
Seems different.
Comment 4 Andrey Kislyuk (RETIRED) gentoo-dev 2008-06-21 21:37:13 UTC
The problem is connected to glibc-2.5, after upgrading to glibc-2.6 it went away. The bug is now fixed since gcc-4.3 was updated to depend on glibc-2.6.