Hello,
in the mean time I've upgraded my machine to Debian Stretch:
# uname -a
Linux molnija 4.9.0-3-amd64 #1 SMP Debian 4.9.30-2+deb9u5
(2017-09-19) x86_64 GNU/Linux
libc6-dev:i386 is still installed:
# dpkg -S /usr/lib/i386-linux-gnu/crti.o
libc6-dev:i386: /usr/lib/i386-linux-gnu/crti.o
# dpkg -S /usr/lib/x86_64-linux-gnu/crti.o
libc6-dev:amd64: /usr/lib/x86_64-linux-gnu/crti.o
and I can compile the small example without error:
# fpc ReproduceBug.pas
Free Pascal Compiler version 3.0.0+dfsg-11+deb9u1 [2017/06/10]
for x86_64
Copyright (c) 1993-2015 by Florian Klaempfl and others
Target OS: Linux for x86-64
Compiling ReproduceBug.pas
Linking ReproduceBug
/usr/bin/ld.bfd: warning: link.res contains output sections;
did you forget -T?
11 lines compiled, 0.1 sec
So I'm unable to reproduce the issue on my machine with fpc version 3
I do not have a ~/.fpc.cfg file and never touched /etc/fpc.cfg.
Something else that I should test on my machine?
Regards,
Gilles
On 2017-10-01 11:38, Abou Al Montacir wrote:
Hi Gilles,
On Mon, 7 Dec 2015 20:00:38 +0100 Gilles Risch <gilles.ri...@gmail.com
<mailto:gilles.ri...@gmail.com>> wrote:
...
> So here's the output when the libc6-dev:i386 package is installed:
>
> # dpkg -S /usr/lib/i386-linux-gnu/crti.o
> libc6-dev:i386: /usr/lib/i386-linux-gnu/crti.o
> # dpkg -S /usr/lib/x86_64-linux-gnu/crti.o
> libc6-dev:amd64: /usr/lib/x86_64-linux-gnu/crti.o
Can you pleas let us know if this issue is still reproducible on your system?
Can you please ensure you don't have any local modification to /etc/fpc.cfg and
that you don't have a ~/.fpc.cfg?
--
Cheers,
Abou Al Montacir