[fpc-devel] can't build trunk for x86_64-linux (suse-64)

C Western l at c-m-w.me.uk
Tue Nov 25 09:52:35 CET 2014


On 24/11/14 23:50, Gennady Agranov wrote:
> suse-32 builds fine though ...
>
> Anything obvious I have missed?
>
> Thanks,
> Gennady
>
> Start compiling package gdbint for target x86_64-linux.
> File libgdb.a not found
>         Compiling gdbint/src/gdbint.pp
>         Compiling gdbint/src/gdbcon.pp
>         Compiling gdbint/src/gdbver.pp
>         Linking gdbint/bin/x86_64-linux/gdbver
> The installer encountered the following error:
> External command "/home/agranov/fpc/compiler/ppcx64 -Tlinux
> -FEgdbint/bin/x86_64-linux -FUgdbint/units/x86_64-linux/
> -Fu/home/agranov/fpc/rtl/units/x86_64-linux/ -Figdbint/src
> -Fl/usr/lib64/gcc/x86_64-suse-linux/4.8 -Ur -Xs -O2 -n
> -Fu/home/agranov/fpc/rtl/units/x86_64-linux -Cg -dx86_64 -dRELEASE -XX
> -CX -viq gdbint/src/gdbver.pp" failed with exit code 256. Console output:
> Target OS: Linux for x86-64
> Compiling gdbint/src/gdbver.pp
> Linking gdbint/bin/x86_64-linux/gdbver
> gdbver.pp(104,1) Error: Error while linking
> gdbver.pp(104,1) Fatal: There were 1 errors compiling module, stopping
> Fatal: Compilation aborted
> /usr/bin/ld: warning: gdbint/bin/x86_64-linux/link.res contains output
> sections; did you forget -T?
> /usr/bin/ld: cannot find libgdb.a

Same here - 29144 seems to be the problem. I think a test for NOGDB 
needs to be added, to avoid the use of libgdb.

Colin

Colin




More information about the fpc-devel mailing list