[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Ltib] building gdb cross
From: |
Stuart Hughes |
Subject: |
Re: [Ltib] building gdb cross |
Date: |
Thu, 30 Apr 2009 18:49:40 +0100 |
User-agent: |
Thunderbird 2.0.0.16 (X11/20080707) |
Hi Tarek,
You need to restart from scratch, if you look at the logfile you'll see:
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for style of include used by make... GNU
configure: error: source directory already configured; run "make
distclean" there first
yes
checking for vsprintf... config.status: executing default commands
make[1]: *** [configure-opcodes] Error 1
make[1]: *** Waiting for unfinished jobs....
yes
I think this error is fatal.
Can you do this:
1/ edit .ltibrc find the section that says (or similar):
# use for multi-processor, or with distcc
%MAKEFLAGS
-j 8
And change it to:
# use for multi-processor, or with distcc
%MAKEFLAGS
-j 1
2/ Run the commands:
$ rm -rf rpm/BUILD/gdb*
3/ Re-run ltib:
$ ./ltib
If it fails, send me the output. The idea of set 1 is to stop the
output being mangled (or make it easier to read).
Regards, Stuart
tarek allaoua wrote:
Attached log.
Thank you in advance.
Tarek
2009/4/30 Stuart Hughes <address@hidden <mailto:address@hidden>>
Hi Tarek,
I'd need to see some more of the log. It looks as if some test in
configure is failing before the output you show.
Also it would be helpful to know:
* which version of LTIB you're using
* which host type you're running on
Regards, Stuart
tarek allaoua wrote:
Hello
I've a long history with gdb using ltib :) It simply fails every
time.
gdb running on target builds correctely
gdbserver running on target builds correctely
gdb cross run on host fails
Bellow some logs :
updating cache .././config.cache
configure: creating ./config.status
config.status: creating Makefile
config.status: creating cconfig.h
config.status: executing default commands
make[1]: Leaving directory
`/home/allaoua/mpc5121/ltib-mpc5121ads-20081208/rpm/BUILD/gdb-stable/cross-gdb'
make: *** [all] Error 2
error: Bad exit status from
/home/allaoua/mpc5121/ltib-mpc5121ads-20081208/tmp/rpm-tmp.96560
(%build)
RPM build errors:
Bad exit status from
/home/allaoua/mpc5121/ltib-mpc5121ads-20081208/tmp/rpm-tmp.96560
(%build)
Build time for gdb: 55 seconds