public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug bootstrap/50952] New: libquad relocation R_X86_64_32S failure
@ 2011-11-01 22:42 kargl at gcc dot gnu.org
  2011-11-01 22:43 ` [Bug bootstrap/50952] " kargl at gcc dot gnu.org
                   ` (10 more replies)
  0 siblings, 11 replies; 12+ messages in thread
From: kargl at gcc dot gnu.org @ 2011-11-01 22:42 UTC (permalink / raw)
  To: gcc-bugs

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

             Bug #: 50952
           Summary: libquad relocation R_X86_64_32S failure
    Classification: Unclassified
           Product: gcc
           Version: 4.6.3
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: bootstrap
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: kargl@gcc.gnu.org


Created attachment 25682
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=25682
build log

With both 4.6.3 and trunk, I'm seeing problems with libquad, which is
completely baffling me.  The 'gmake bootstrap' completes as expected,
but 'gmake install' dies with 

gfortran.so.3.0 -o .libs/libgfortran.so.3.0
/usr/bin/ld: /home/sgk/work/46/lib/libquadmath.a(fmodq.o): relocation
R_X86_64_32S against `a local symbol' can not be used when making a shared
object; recompile with -fPIC
/home/sgk/work/46/lib/libquadmath.a: could not read symbols: Bad value
collect2: ld returned 1 exit status
libtool: install: error: relink `libgfortran.la' with the above command before
installing it
gmake[4]: *** [install-toolexeclibLTLIBRARIES] Error 1
gmake[4]: Leaving directory
`/usr/home/sgk/gcc/obj46/x86_64-unknown-freebsd10.0/libgfortran'
gmake[3]: *** [install-am] Error 2
gmake[3]: Leaving directory
`/usr/home/sgk/gcc/obj46/x86_64-unknown-freebsd10.0/libgfortran'
gmake[2]: *** [install] Error 2
gmake[2]: Leaving directory
`/usr/home/sgk/gcc/obj46/x86_64-unknown-freebsd10.0/libgfortran'
gmake[1]: *** [install-target-libgfortran] Error 2
gmake[1]: Leaving directory `/usr/home/sgk/gcc/obj46'
gmake: *** [install] Error 2

I've redirected the the output to files and the -fPIC is already on
the command line.  What seems odd to me is that the 'gmake install'
is relinking the libquadmath.so shared library.  I've attached
'gmake |& build.log' and 'gmake install |& install.log'


^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2011-12-15 16:44 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-11-01 22:42 [Bug bootstrap/50952] New: libquad relocation R_X86_64_32S failure kargl at gcc dot gnu.org
2011-11-01 22:43 ` [Bug bootstrap/50952] " kargl at gcc dot gnu.org
2011-11-01 22:44 ` kargl at gcc dot gnu.org
2011-11-01 22:53 ` kargl at gcc dot gnu.org
2011-11-01 23:03 ` [Bug target/50952] " kargl at gcc dot gnu.org
2011-11-02  5:56 ` markus at trippelsdorf dot de
2011-11-02  5:57 ` markus at trippelsdorf dot de
2011-11-04 23:01 ` sgk at troutmask dot apl.washington.edu
2011-12-15  0:20 ` pinskia at gcc dot gnu.org
2011-12-15  1:37 ` sgk at troutmask dot apl.washington.edu
2011-12-15  1:38 ` pinskia at gcc dot gnu.org
2011-12-15 16:46 ` kargl at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).