GNU bug report logs - #26644
[m4/libtool.m4] TCC and unsupported option '-fPIC'

Previous Next

Package: libtool;

Reported by: Marcel Raad <marcir86 <at> gmail.com>

Date: Mon, 24 Apr 2017 19:53:02 UTC

Severity: normal

To reply to this bug, email your comments to 26644 AT debbugs.gnu.org.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-libtool <at> gnu.org:
bug#26644; Package libtool. (Mon, 24 Apr 2017 19:53:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Marcel Raad <marcir86 <at> gmail.com>:
New bug report received and forwarded. Copy sent to bug-libtool <at> gnu.org. (Mon, 24 Apr 2017 19:53:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Marcel Raad <marcir86 <at> gmail.com>
To: bug-libtool <at> gnu.org
Subject: [m4/libtool.m4] TCC and unsupported option '-fPIC'
Date: Mon, 24 Apr 2017 21:50:25 +0200
Hi,

I'm building curl [1] with TCC (Tiny C compiler) on Linux. For every
compiled source file, I get:
tcc: warning: unsupported option '-fPIC'

What I do is
./configure --enable-warnings CC=tcc && make
which enables warnings about unsupported GCC options (-Wunsupported)
at build time, but not at configure time.

libtool.m4 adds -fPIC, but according to the TCC documentation [2], TCC
doesn't support PIC at all.

I'm using Ubuntu 16.04 with libtool 2.4.6 and TCC 0.9.26.

[1] https://github.com/curl/curl/
[2] http://bellard.org/tcc/tcc-doc.html#SEC17

Thanks,
Marcel




This bug report was last modified 8 years and 115 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.