Your message dated Mon, 03 Feb 2025 00:29:12 +0100
with message-id <[email protected]>
and subject line Re: fpc: doesn't link dynamically
has caused the Debian Bug report #472304,
regarding fpc: doesn't link dynamically
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
472304: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=472304
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: fp-compiler
Version: 2.2.0-dfsg1-4
Severity: normal
Hi,
the package m-tx in Debian now needs fpc for building (the alternative
p2c doesn't work anymore with the new code). However, p2c produces a
statically linked executable (causing lintian to complain). Even -XD
(and also -Xc) don't help:
=================================================================
$ make
fpc -XD -g -B -vn -So prepmx
Free Pascal Compiler version 2.2.0 [2008/03/15] for i386
Copyright (c) 1993-2007 by Florian Klaempfl
Target OS: Linux for i386
Compiling prepmx.pas
Compiling control.pas
Compiling utility.pas
Compiling strings.pas
utility.pas(124,34) Warning: range check error while evaluating
constants
Compiling globals.pas
Compiling preamble.pas
Compiling mtxline.pas
Compiling notes.pas
Compiling files.pas
Compiling multfile.pas
Compiling status.pas
Compiling lyrics.pas
Compiling mtx.pas
Compiling analyze.pas
Compiling uptext.pas
Linking prepmx
4342 lines compiled, 0.9 sec
1 warning(s) issued
$ file prepmx
prepmx: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV),
statically linked, not stripped
=================================================================
Is this intended behaviour of fpc? What's wrong here?
Thanks in advance!
bye,
Roland
-- System Information:
Debian Release: lenny/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.24-1-686 (SMP w/1 CPU core)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8) (ignored: LC_ALL
set to en_GB.UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages fp-compiler depends on:
ii dpkg 1.14.16.6 package maintenance system for Deb
ii fp-units-rtl 2.2.0-dfsg1-4 Free Pascal -- Runtime Library
fp-compiler recommends no packages.
-- debconf-show failed
--- End Message ---
--- Begin Message ---
On Sun, 2025-02-02 at 22:43 +0100, Abou Al Montacir wrote:
> Control: fixed -1 3.2.2-42
>
> Hi,
>
> On Wed, 2015-06-17 at 20:23 +0100, peter green wrote:
> > A simple pascal program does not use any C libaries (static or dynamic)
> > at all. The freepascal run time library makes system calls directly to
> > the kernel.
> This issue is know fixed. User needs to use fpc @hardening -B -vn -So prepmx
> to compile the program and it should generate dynamically linked program.
This ticket can be closed now.
--
Cheers,
Abou Al Montacir
signature.asc
Description: This is a digitally signed message part
--- End Message ---