public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug bootstrap/42028]  New: Bootstrap fails for mpfr/gmp not in LD_LIBRARY_PATH
@ 2009-11-13  9:50 scovich at gmail dot com
  2009-11-13 10:35 ` [Bug bootstrap/42028] " scovich at gmail dot com
  0 siblings, 1 reply; 4+ messages in thread
From: scovich at gmail dot com @ 2009-11-13  9:50 UTC (permalink / raw)
  To: gcc-bugs

Bootstrapping of gcc-4.4.2 fails on my machine because the stage 1 compiler has
a runtime dependency on mpfr and gmp, which are not in my LD_LIBRARY_PATH
because I only built them in order to compile gcc. 

Using --with-gmp, --with-mpfr and --with-build-libsubdir at configure time lets
it compile but doesn't help it run. 

Given that the inputs to configure make it pretty clear mpfr and gmp are not in
standard locations, and the finished compiler won't have any dependencies on
those libraries, I would expect the build system to ensure they are accessible
to any dependent intermediate binaries it runs.

The workaround is to set up an LD_LIBRARY_PATH, so this is more annoyance than
anything else.


-- 
           Summary: Bootstrap fails for mpfr/gmp not in LD_LIBRARY_PATH
           Product: gcc
           Version: 4.4.2
            Status: UNCONFIRMED
          Severity: trivial
          Priority: P3
         Component: bootstrap
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: scovich at gmail dot com
  GCC host triplet: x86_64-unknown-linux-gnu


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


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

* [Bug bootstrap/42028] Bootstrap fails for mpfr/gmp not in LD_LIBRARY_PATH
  2009-11-13  9:50 [Bug bootstrap/42028] New: Bootstrap fails for mpfr/gmp not in LD_LIBRARY_PATH scovich at gmail dot com
@ 2009-11-13 10:35 ` scovich at gmail dot com
  0 siblings, 0 replies; 4+ messages in thread
From: scovich at gmail dot com @ 2009-11-13 10:35 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from scovich at gmail dot com  2009-11-13 10:35 -------
Hmm.. it seems the final executable depends on mpfr and gmp as well... I could
have sworn the docs said it was a build-time dependency only.


-- 


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


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

* [Bug bootstrap/42028] Bootstrap fails for mpfr/gmp not in LD_LIBRARY_PATH
       [not found] <bug-42028-4@http.gcc.gnu.org/bugzilla/>
  2012-01-28  5:19 ` pinskia at gcc dot gnu.org
@ 2012-01-28  5:20 ` pinskia at gcc dot gnu.org
  1 sibling, 0 replies; 4+ messages in thread
From: pinskia at gcc dot gnu.org @ 2012-01-28  5:20 UTC (permalink / raw)
  To: gcc-bugs

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

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |david.kirkby at onetel dot
                   |                            |net

--- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> 2012-01-28 05:16:22 UTC ---
*** Bug 36481 has been marked as a duplicate of this bug. ***


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

* [Bug bootstrap/42028] Bootstrap fails for mpfr/gmp not in LD_LIBRARY_PATH
       [not found] <bug-42028-4@http.gcc.gnu.org/bugzilla/>
@ 2012-01-28  5:19 ` pinskia at gcc dot gnu.org
  2012-01-28  5:20 ` pinskia at gcc dot gnu.org
  1 sibling, 0 replies; 4+ messages in thread
From: pinskia at gcc dot gnu.org @ 2012-01-28  5:19 UTC (permalink / raw)
  To: gcc-bugs

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

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |INVALID

--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> 2012-01-28 05:13:31 UTC ---
This is a standard issue with any kind of shared library really.  You either
set LD_LIBRARY_PATH or edit /etc/ld.conf or use -R .  There is not much can be
done on GCC's side.

So closing this bug as invalid.


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

end of thread, other threads:[~2012-01-28  5:17 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-11-13  9:50 [Bug bootstrap/42028] New: Bootstrap fails for mpfr/gmp not in LD_LIBRARY_PATH scovich at gmail dot com
2009-11-13 10:35 ` [Bug bootstrap/42028] " scovich at gmail dot com
     [not found] <bug-42028-4@http.gcc.gnu.org/bugzilla/>
2012-01-28  5:19 ` pinskia at gcc dot gnu.org
2012-01-28  5:20 ` pinskia 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).