public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug jit/64296] New: link failure of libgccjit.so for "in tree" gmp/mpc/mpfr/isl
@ 2014-12-13 10:23 alfred.minarik.1 at aon dot at
  2014-12-21 17:47 ` [Bug jit/64296] " alfred.minarik.1 at aon dot at
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: alfred.minarik.1 at aon dot at @ 2014-12-13 10:23 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64296

            Bug ID: 64296
           Summary: link failure of libgccjit.so for "in tree"
                    gmp/mpc/mpfr/isl
           Product: gcc
           Version: 5.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: jit
          Assignee: dmalcolm at gcc dot gnu.org
          Reporter: alfred.minarik.1 at aon dot at

using "in tree" gmp/mpc/mpfr/isl (as following contrib/download_prerequisites)
does not work with building jit.

gcc is correctly configured with --enable-host-shared but this information is
obviously not transferd into (or ignored by ?) gmp/mpc/mpfr/isl. Those static
libraries are still build without -fPIC,resulting in relocation failures while
linking libgccjit.so.

am@linux:~/tools/gcc> LANG=C gcc -v
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/local2/gcc_4.9.2/lib/gcc/x86_64-unknown-linux-gnu/4.9.2/lto-wrapper
Target: x86_64-unknown-linux-gnu
Configured with: /home/am/tools/gcc/gcc/configure
--prefix=/usr/local2/gcc_4.9.2 --enable-languages=all,ada,go,obj-c++
Thread model: posix
gcc version 4.9.2 (GCC) 

LANG="C" $GCCSRC_/configure --prefix=/usr/local2/gcc_exp
--enable-languages=c,c++,jit --disable-multilib --enable-checking=release
--enable-host-shared


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

end of thread, other threads:[~2021-05-04 12:32 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-12-13 10:23 [Bug jit/64296] New: link failure of libgccjit.so for "in tree" gmp/mpc/mpfr/isl alfred.minarik.1 at aon dot at
2014-12-21 17:47 ` [Bug jit/64296] " alfred.minarik.1 at aon dot at
2015-04-13 23:26 ` redi at gcc dot gnu.org
2021-05-04 12:32 ` rguenth 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).