From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6284 invoked by alias); 27 Nov 2014 00:18:24 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Received: (qmail 6213 invoked by uid 48); 27 Nov 2014 00:18:19 -0000 From: "howarth at bromo dot med.uc.edu" To: gcc-bugs@gcc.gnu.org Subject: [Bug jit/64089] libgccjit.so.0.0.1 linkage failure on darwin Date: Thu, 27 Nov 2014 00:18:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: jit X-Bugzilla-Version: 5.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: howarth at bromo dot med.uc.edu X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: dmalcolm at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2014-11/txt/msg03189.txt.bz2 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.