This is the mail archive of the gcc-bugs@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]

[Bug other/35277] New: x86_64 configure option combo yields broken compiler


This might be a dumb user error but since it works on 32-bit Fedora's, I
thought it best to file a PR and let you folks decide.

On Fedora 7 or 8, when you configure like this, the libgcc_s.o files do not
end up in an install directory that gcc can find afterwards.  So you end up
getting a link error on the simplest programs.

  ../../gcc-${gcc}/configure --with-gnu-as --disable-multilib \
    --with-gnu-ld --verbose --with-system-zlib --disable-nls \
    --enable-version-specific-runtime-libs \
    --enable-languages=c,ada --prefix=${install_dir} 

I haven't tried every set of options but reducing it to the
following produced a working compiler.

 ../../gcc-${gcc}/configure \
    --enable-languages=c,ada --prefix=${install_dir}


-- 
           Summary: x86_64 configure option combo yields broken compiler
           Product: gcc
           Version: 4.2.3
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: other
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: joel at gcc dot gnu dot org
  GCC host triplet: x86_64-unknown-linux-gnu


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35277


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