I was not able to reproduce this, can you please ensure you have the correct /etc/fpc.cfg file as there is a know issue when upgrading.
Please provide the output of "ls /etc/fpc.cfg" as well as "update-alternatives --display fpc" "update-alternatives --display fp-utils" Can you please check if dpkg-reconfigure fp-compiler fixes the issue? Cheers, On Mon, 2011-04-04 at 13:12 +0200, Adam Borowski wrote: > Package: fp-compiler > Version: 2.4.2-1 > Severity: grave > Justification: renders package unusable > > Any program compiled by new fpc, even just "begin end.", crashes on startup: > > [/tmp]$ fpc hello.pas > Free Pascal Compiler version 2.4.2-1 [2011/03/30] for x86_64 > Copyright (c) 1993-2010 by Florian Klaempfl > Target OS: Linux for x86-64 > Compiling hello.pas > Linking hello > /usr/bin/ld: warning: link.res:1:19: ignoring SEARCH_DIR; SEARCH_DIR is only > valid for scripts specified via -T/--script > /usr/bin/ld: warning: link.res:2:23: ignoring SEARCH_DIR; SEARCH_DIR is only > valid for scripts specified via -T/--script > /usr/bin/ld: warning: link.res:3:48: ignoring SEARCH_DIR; SEARCH_DIR is only > valid for scripts specified via -T/--script > /usr/bin/ld: warning: link.res:4:54: ignoring SEARCH_DIR; SEARCH_DIR is only > valid for scripts specified via -T/--script > /usr/bin/ld: warning: link.res:5:58: ignoring SEARCH_DIR; SEARCH_DIR is only > valid for scripts specified via -T/--script > /usr/bin/ld: warning: link.res:6:50: ignoring SEARCH_DIR; SEARCH_DIR is only > valid for scripts specified via -T/--script > /usr/bin/ld: warning: link.res:7:31: ignoring SEARCH_DIR; SEARCH_DIR is only > valid for scripts specified via -T/--script > /usr/bin/ld: warning: link.res:13:13: ignoring command OPTION; OPTION is only > valid for scripts specified via -T/--script > 2 lines compiled, 0.1 sec > [/tmp]$ ./hello > Killed > > > I tried rebuilding 2.4.2 using squeeze's libraries, and it worked there, > suggesting it's a problem with recent toolchain changes in unstable. > > Linking on squeeze still spews warnings, though: > /usr/bin/ld: warning: link.res contains output sections; did you forget -T? > > > -- System Information: > Debian Release: wheezy/sid > APT prefers unstable > APT policy: (500, 'unstable'), (500, 'stable'), (150, 'experimental') > Architecture: amd64 (x86_64) > > Kernel: Linux 2.6.26-2-vserver-amd64 (SMP w/4 CPU cores) > Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) > Shell: /bin/sh linked to /bin/dash > > Versions of packages fp-compiler depends on: > ii fp-compiler-2.4.2 2.4.2-1 Free Pascal - Compiler > > fp-compiler recommends no packages. > > fp-compiler suggests no packages. > > -- no debconf information > > > >
signature.asc
Description: This is a digitally signed message part