Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-devel / 2014-11

can't build trunk for x86_64-linux (suse-64)

2 messages · 2 people · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Gennady Agranov

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

Reply by email

C Western
to Gennady Agranov
Gennady Agranov wrote 29 lines
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

Reply by email