Hello..
> gdbserver should be configured with --host only (it is to be hosted on
> target) gdb and gdbserver are actually tied to eachother, as well as
> toolchain and userland build on target. It therefore makes sense to
> build them as a userland app.
>
> Attached is a makefile in order to get a gdb 6.6 tarball from GNU to
> build correctly on a ARM/XScale target, ixp465. Also the two patches
> are needed.
I tried to compile this with the 20061213 toolchain, but this bails out
with (here's the content from config.log)
configure:1655: checking for C compiler default output file name
configure:1658: ucfront-gcc arm-linux-gcc -msoft-float
-malignment-traps -Os -g -fno-common -fno-builtin
-Wall -DEMBED -D__PIC__ -fpic -msingle-pic-base -Dlinux -D__linux__
-Dunix -D__uClinux__ -Wl,-elf2flt -D__PIC__ -fpic -msingle-pic-base
conftest.c >&5
/m/s/spool/builds/uclinux/builds/uClinux-dist-20051014/uClibc/lib/libc.a
(__uClibc_main.o): In function `__uClibc_init':
__uClibc_main.c:(.text+0x5c): warning: internal error: unsupported
relocation error
__uClibc_main.c:(.text+0x60): warning: internal error: unsupported
relocation error
__uClibc_main.c:(.text+0x64): warning: internal error: unsupported
relocation error
__uClibc_main.c:(.text+0x68): warning: internal error: unsupported
relocation error
/m/s/spool/builds/uclinux/builds/uClinux-dist-20051014/uClibc/lib/libc.a
(__uClibc_main.o): In function `__uClibc_start_main':
__uClibc_main.c:(.text+0x114): warning: internal error: unsupported
relocation error
__uClibc_main.c:(.text+0x118): warning: internal error: unsupported
relocation error
__uClibc_main.c:(.text+0x11c): warning: internal error: unsupported
relocation error
__uClibc_main.c:(.text+0x120): warning: internal error: unsupported
relocation error
__uClibc_main.c:(.text+0x124): warning: internal error: unsupported
relocation error
/m/s/spool/builds/uclinux/builds/uClinux-dist-20051014/uClibc/lib/libc.a
(exit.o): In function `exit':
[ ... Many more errors deleted ... ]
144 bad relocs
collect2: ld returned 1 exit status
configure:1661: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| /* end confdefs.h. */
|
| int
| main ()
| {
|
| ;
| return 0;
| }
configure:1700: error: C compiler cannot create executables
See `config.log' for more details.
The problem is probably not with the toolchain, since I can build the
whole uClinux distribution with it.
Any ideas why arm-linux-gcc can't create executables?
_______________________________________________
uClinux-dev mailing list
[email protected]
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by [email protected]
To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev