Building Regina-REXX-3.4 from source distribution.  The linker fails
with the following error:

/usr/local/bin/gcc  -O2 -I/usr/local/include  -pthreads -L/usr/local/lib -o
execiser32 execiser.o -L. -lregina -lfl  -lm -lnsl -lsocket -lcrypt -ldl  
-lpthread
/usr/local/bin/ld: execiser32: hidden symbol `__floatdidf' in
/usr/local/lib/gcc/sparc-sun-solaris2.9/3.4.6/libgcc.a(_floatdidf.oS) is
referenced by DSO
/usr/local/bin/ld: final link failed: Nonrepresentable section on output
collect2: ld returned 1 exit status

I've verified that the compiled code has undefined references to the
__floatdidf function.

Environment:
System: SunOS arcade 5.9 Generic_122300-13 sun4u sparc SUNW,Sun-Fire-V490
Architecture: sun4


host: sparc-sun-solaris2.9
build: sparc-sun-solaris2.9
target: sparc-sun-solaris2.9
configured with: ../src/gcc-3.4.6/configure
--prefix=/sea/compilers/native/gcc-3.4.6 --with-local-prefix=/sea/local
--enable-threads --enable-languages=c,c++ --disable-multilib --with-gnu-as
--with-gnu-ld --with-as=/sea/compilers/native/gcc-3.4.6/bin/as
--with-ld=/sea/compilers/native/gcc-3.4.6/bin/ld

How-To-Repeat:
        Untar REXX
        configure --enable-32bit
        make


------- Comment #1 from Reid dot Madsen at tek dot com  2008-01-26 01:10 -------
Fix:
        I know of no workaround.


-- 
           Summary: GCC 3.4.6 link fails with undefined reference to .hidden
                    symbol __floatdidf (libgcc.a)
           Product: gcc
           Version: 3.4.6
            Status: UNCONFIRMED
          Severity: critical
          Priority: P2
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: Reid dot Madsen at tek dot com
 GCC build triplet: sparc-sun-solaris2.9
  GCC host triplet: sparc-sun-solaris2.9
GCC target triplet: sparc-sun-solaris2.9


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

Reply via email to