This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author martin.panter
Recipients Arfrever, barry, koobs, martin.panter, serhiy.storchaka, vstinner
Date 2016-06-10.05:22:39
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1465536159.53.0.618101969165.issue22636@psf.upfronthosting.co.za>
In-reply-to
Content
Yes it is okay. The code is compiling a dummy file without main(), just to see what libraries GCC tries to link with it. It is only interested in extracting the line matching *libc.so.*, which in your case should be

/lib/i386-linux-gnu/libc.so.6

So you should find that ctypes.util._findLib_gcc("c") still returns this path, even though the compile command technically fails.
History
Date User Action Args
2016-06-10 05:22:39martin.pantersetrecipients: + martin.panter, barry, vstinner, Arfrever, serhiy.storchaka, koobs
2016-06-10 05:22:39martin.pantersetmessageid: <1465536159.53.0.618101969165.issue22636@psf.upfronthosting.co.za>
2016-06-10 05:22:39martin.panterlinkissue22636 messages
2016-06-10 05:22:39martin.pantercreate