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 jit/64089] libgccjit.so.0.0.1 linkage failure on darwin


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

--- Comment #6 from howarth at bromo dot med.uc.edu ---
(In reply to dmalcolm from comment #5)
> (In reply to howarth from comment #1)
> > Failing build configured with...
> > 
> >  ../gcc-5-20141126/configure --prefix=/sw --prefix=/sw/lib/gcc5.0
> > --mandir=/sw/share/man --infodir=/sw/lib/gcc5.0/info
> > --enable-languages=c,c++,fortran,lto,objc,obj-c++,java,jit --with-gmp=/sw
> > --with-libiconv-prefix=/sw --with-isl=/sw --with-mpc=/sw --with-system-zlib
> > --x-includes=/usr/X11R6/include --x-libraries=/usr/X11R6/lib
> > --program-suffix=-fsf-5.0
> 
> BTW, if configuring with the jit enabled, --enable-host-shared is also
> required (or we won't have position-independent code, and the link will
> fail, or, at least, it will on Linux; am guessing the same will happen on
> Darwin).
> 
> The configure script should probably enforce that, but it doesn't yet.

I don't believe this can be an issue on darwin as we always default to
producing PIC oode.


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