Received: (at submit) by debbugs.gnu.org; 24 Apr 2017 19:52:43 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Mon Apr 24 15:52:43 2017 Received: from localhost ([127.0.0.1]:38310 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1d2k2L-0002sA-JR for submit <at> debbugs.gnu.org; Mon, 24 Apr 2017 15:52:41 -0400 Received: from eggs.gnu.org ([208.118.235.92]:41370) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <marcir86@HIDDEN>) id 1d2k0K-0002oy-1S for submit <at> debbugs.gnu.org; Mon, 24 Apr 2017 15:50:36 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <marcir86@HIDDEN>) id 1d2k0D-0005KY-Mn for submit <at> debbugs.gnu.org; Mon, 24 Apr 2017 15:50:30 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: * X-Spam-Status: No, score=1.1 required=5.0 tests=BAYES_50, FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:37947) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from <marcir86@HIDDEN>) id 1d2k0D-0005KK-Iz for submit <at> debbugs.gnu.org; Mon, 24 Apr 2017 15:50:29 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:60562) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <marcir86@HIDDEN>) id 1d2k0C-00069r-3F for bug-libtool@HIDDEN; Mon, 24 Apr 2017 15:50:29 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <marcir86@HIDDEN>) id 1d2k0B-0005Iz-6Q for bug-libtool@HIDDEN; Mon, 24 Apr 2017 15:50:28 -0400 Received: from mail-qk0-x22d.google.com ([2607:f8b0:400d:c09::22d]:36337) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from <marcir86@HIDDEN>) id 1d2k0B-0005IP-0W for bug-libtool@HIDDEN; Mon, 24 Apr 2017 15:50:27 -0400 Received: by mail-qk0-x22d.google.com with SMTP id u75so30174531qka.3 for <bug-libtool@HIDDEN>; Mon, 24 Apr 2017 12:50:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=tNaNvi6nOBcU0Kss4x2hobY2oXPC/85dhRNVwmkdmr0=; b=rvXpHpinwwxph+3IgRn1WOe/vtUSEpGOswCGCHx1yT9bxZRVJ049TJgojf8xkh2Omz VKI345K5s8f6Q4l0DcWiOAinH/67wicf+JuxyORLNdnXsJJvLrzjKBOin0vPVe4UWB+A E/36zjwQ+/M3KeUP1pNhTfW/BHKfeTGi2tuLJ5+vGlqGiD6PS1StjYsEVFWzJ/630dF+ wRGKblC/0Y5GKCN6OC94PLAzotS4u4c65MibJXcazXlaFIq34WAhXt7prFJUUixT/oLB 9bwtPpmHYdcVbheQoEGde+nrbHsY7KbwdHRUMCUe+LmrC9HdroS8STNScR2yE82LYuTc h7vg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=tNaNvi6nOBcU0Kss4x2hobY2oXPC/85dhRNVwmkdmr0=; b=V+YNdu4mtkTQhufY9OZta/43Q95EdBMUyRa2ma9U/N/HQEZxs1UhcLRFf2wq6UnZaW ovWbh07Xg5JrORD1oqmMKkATs1a+4sxM6WUxvTfY1bOcys9jTex9s8N3JyC2IC4YkD0a i78nxDCuCNMyJJCfBBJXyV+Y7ej4lpobvz77F+gyfGZQ2yy8Akbuu0o22drBl5wDNIpo SIhJ1g2z74K8EnmaSZU/oGN2wf/LbSootU3CZlTLWoufdriJtu2vfTUhIZvh08Kjq5Vj iGgruPE9mZYC4GE12olbjtpJJVXW+AvStNpaAVwYPLzGeJhY1JlknsDdUEFuz/WN0ooe uhDw== X-Gm-Message-State: AN3rC/55rYn+0pbmwoKvAf7nRLRSzUaLmpkwV52axFFqloL0n3DF0u9s i2ofnf/r/C7cgclMF55inmRWE3YjcQ31HaE= X-Received: by 10.55.26.215 with SMTP id l84mr16480223qkh.307.1493063425723; Mon, 24 Apr 2017 12:50:25 -0700 (PDT) MIME-Version: 1.0 Received: by 10.200.35.71 with HTTP; Mon, 24 Apr 2017 12:50:25 -0700 (PDT) From: Marcel Raad <marcir86@HIDDEN> Date: Mon, 24 Apr 2017 21:50:25 +0200 Message-ID: <CAM5M4RHGFA8fZ6Y8rSWeeUYm4rtN_9rCmh2NgxiMUEn30xFz3A@HIDDEN> Subject: [m4/libtool.m4] TCC and unsupported option '-fPIC' To: bug-libtool@HIDDEN Content-Type: text/plain; charset=UTF-8 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -3.8 (---) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Mon, 24 Apr 2017 15:52:40 -0400 X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.8 (---) 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
Marcel Raad <marcir86@HIDDEN>
:bug-libtool@HIDDEN
.
Full text available.bug-libtool@HIDDEN
:bug#26644
; Package libtool
.
Full text available.
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.