Bug#780905: fp-compiler-2.6.4: fpc fails to link programs using fpmkunit

2017-10-02 Thread Gilles Risch
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: /us

Bug#780905: fp-compiler-2.6.4: fpc fails to link programs using fpmkunit

2017-10-01 Thread Abou Al Montacir
Hi Gilles, On Mon, 7 Dec 2015 20:00:38 +0100 Gilles Risch 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 > li

Bug#780905: fp-compiler-2.6.4: fpc fails to link programs using fpmkunit

2015-12-07 Thread Gilles Risch
Hello, On 12/07/2015 10:01 AM, Abou Al Montacir wrote: Hi Gilles, On Sun, 2015-12-06 at 21:13 +0100, Gilles Risch wrote: INPUT( /usr/lib/fpc/2.6.4/units/x86_64-linux/rtl/cprt0.o /usr/lib/i386-linux-gnu/crti.o /usr/lib/gcc/x86_64-linux-gnu/4.9/crtbegin.o ReproduceError.o The above lines in you

Bug#780905: fp-compiler-2.6.4: fpc fails to link programs using fpmkunit

2015-12-07 Thread Abou Al Montacir
Hi Gilles, On Sun, 2015-12-06 at 21:13 +0100, Gilles Risch wrote: > INPUT( > /usr/lib/fpc/2.6.4/units/x86_64-linux/rtl/cprt0.o > /usr/lib/i386-linux-gnu/crti.o > /usr/lib/gcc/x86_64-linux-gnu/4.9/crtbegin.o > ReproduceError.o The above lines in your link.res are suspicious. Why is it trying to link

Bug#780905: [Pkg-pascal-devel] Bug#780905: fp-compiler-2.6.4: fpc fails to link programs using fpmkunit

2015-12-06 Thread Paul Gevers
Hi Abou, On 06-12-15 14:51, Abou Al Montacir wrote: I am missing libc6-dev:i386 in your list. That is what is reported to be the issue. Also looking at the logic in compiler/systems/t_linux.pas, I can't get around the feeling that it may not work correctly on multiarch Debian systems. Looking at

Bug#780905: [Pkg-pascal-devel] Bug#780905: fp-compiler-2.6.4: fpc fails to link programs using fpmkunit

2015-12-06 Thread Abou Al Montacir
Hi All, On Sat, 2015-12-05 at 15:23 +0100, Gilles Risch wrote: > program ReproduceBug; > > {$mode objfpc}{$H+} > > uses > {$ifdef unix}cthreads;{$endif} > > begin > writeln('using cthreads seems to be the root cause of this bug.'); > end. I just tried the above program and it worked pe

Bug#780905: fp-compiler-2.6.4: fpc fails to link programs using fpmkunit

2015-12-05 Thread Gilles Risch
Hello Paul, On Fri, 04 Dec 2015 11:20:27 +0100 Paul Gevers wrote: > Hi Gilles, > > Thanks for reporting, much appreciated. > > On 03-12-15 22:21, Gilles Risch wrote: > > I've now successively removed more i386 packages, until the linking worked. > > These packages are no longer on my disk: > >

Bug#780905: fp-compiler-2.6.4: fpc fails to link programs using fpmkunit

2015-12-04 Thread Paul Gevers
Hi Gilles, Thanks for reporting, much appreciated. On 03-12-15 22:21, Gilles Risch wrote: > I've now successively removed more i386 packages, until the linking worked. > These packages are no longer on my disk: > * libc6-dev:i386 > * gcc-4.9-base:i386 > * linux-libc-dev:i386 > * libc6:i386 > > S

Bug#780905: fp-compiler-2.6.4: fpc fails to link programs using fpmkunit

2015-12-03 Thread Gilles Risch
Hello, I've now successively removed more i386 packages, until the linking worked. These packages are no longer on my disk: * libc6-dev:i386 * gcc-4.9-base:i386 * linux-libc-dev:i386 * libc6:i386 So one of them is the originator of this problem. Regards, Gilles On Thu, 3 Dec 2015 21:25:58 +01

Bug#780905: fp-compiler-2.6.4: fpc fails to link programs using fpmkunit

2015-12-03 Thread Gilles Risch
Hello, I've the same issue on my machine. libc6-dev:i386 was installed, removing it didn't change anything. Regards, Gilles On Fri, 30 Oct 2015 09:35:44 +0100 Paul Gevers wrote: > Hi Andrew, > > On Mon, 03 Aug 2015 20:20:55 +0100 peter green wrote: > > On 21/03/15 12:00, Andrew Apted wrot

Bug#780905: fp-compiler-2.6.4: fpc fails to link programs using fpmkunit

2015-10-30 Thread Paul Gevers
Hi Andrew, On Mon, 03 Aug 2015 20:20:55 +0100 peter green wrote: > On 21/03/15 12:00, Andrew Apted wrote: > > /usr/bin/ld.bfd: warning: link.res contains output sections; did you forget > > -T? > > /usr/bin/ld.bfd: skipping incompatible /usr/lib/i386-linux-gnu/crti.o when > > searching for /usr/

Bug#780905: fp-compiler-2.6.4: fpc fails to link programs using fpmkunit

2015-08-03 Thread peter green
On 21/03/15 12:00, Andrew Apted wrote: /usr/bin/ld.bfd: warning: link.res contains output sections; did you forget -T? /usr/bin/ld.bfd: skipping incompatible /usr/lib/i386-linux-gnu/crti.o when searching for /usr/lib/i386-linux-gnu/crti.o /usr/bin/ld.bfd: cannot find /usr/lib/i386-linux-gnu/crti.

Bug#780905: fp-compiler-2.6.4: fpc fails to link programs using fpmkunit

2015-05-26 Thread Paul Gevers
Hi Andrew, Sorry for not responding quicker. On 21-03-15 13:00, Andrew Apted wrote: > Any program which "uses fpmkunit" will not compile with fpc here. > Compiling a simple hello-world program produces the following errors. Could you please append your hello-world files to this bug report so tha

Bug#780905: fp-compiler-2.6.4: fpc fails to link programs using fpmkunit

2015-03-21 Thread Andrew Apted
Package: fp-compiler-2.6.4 Version: 2.6.4+dfsg-4 Severity: important Dear Maintainer, Any program which "uses fpmkunit" will not compile with fpc here. Compiling a simple hello-world program produces the following errors. Note how it looks for a 32-bit object file, even though it knows this is a