Re: Current CVS does not compile on (old?) i386 architecture
Felix von Leitner <[email protected]> Fri, 1 Sep 2017 01:38:33 +0200
| Newsgroups | gmane.linux.lib.dietlibc |
|---|---|
| Message-ID | <[email protected]> |
> I am trying to compile the current CVS version of dietlibc on a Toshiba > Satellite 1135-S1553 with a Celeron CPU (cpuinfo below) under Debian 9.1 > (stretch). > The build fails when linking dnsd, because of missing socket etc. see > error message below. This appears to be the result of a patched gcc. I can not reproduce this in my dev environment (with vanilla unpatched gcc). However, if your gcc defaults to PIC code on i386, then the observed behavior will happen. I'm not quite sure how best to fix this. Can you please try changing your Makefile to add -fno-pic to the gcc options, see if that helps? Felix