DLDI does not compile without CONFIG_NDS_ROM8BIT

Stefan Sperling stsp at stsp.name
Tue Jun 26 00:37:58 CEST 2007

On Mon, Jun 25, 2007 at 11:53:14PM +0200, Amadeus wrote:
> On Montag, 25. Juni 2007, Stefan Sperling wrote:
> > drivers/built-in.o: In function `_call_dldi_direct':
> > hwmon.c:(.text+0x33cfc): undefined reference to `gba_set_io'
> > hwmon.c:(.text+0x33d00): undefined reference to `gba_set_ram'
> Fixed in CVS. Please test.

Kernel compiles fine now, but -mswp-byte-writes is still
passed to the toolchain for some reason when compiling userland.

Note my current toolchain has -mswp-byte-writes disabled
for testing purposes.

make[5]: Entering directory `/src/uClibc/libc/misc/assert'
arm-linux-elf-gcc  -Wall -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing  -fstrict-aliasing -Os -funit-at-a-time  -O2 -g -fomit-frame-pointer -fno-common -fno-builtin -Wall -mswp-byte-writes -DCONFIG_NDS_ROM8BIT -mcpu=arm946e-s -mfpu=fpe3 -DEMBED -D__PIC__ -fpic -msingle-pic-base  -mlittle-endian -mcpu=arm946e-s -mfpu=fpe3 -fno-stack-protector -fno-builtin -nostdinc -D_LIBC -I../../../include -I. -isystem /src/toolchain/prefix/lib/gcc/arm-linux-elf/4.2.0/include -DNDEBUG -c __assert.c -o __assert.o
cc1: error: unrecognized command line option "-mswp-byte-writes"
make[5]: *** [__assert.o] Error 1

Any idea on the toolchain issues by the way?
http://stsp.name                                         PGP Key: 0xF59D25F0
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://mailman.dslinux.in-berlin.de/pipermail/dslinux-devel-dslinux.in-berlin.de/attachments/20070626/3796f4ef/attachment.pgp 

More information about the dslinux-devel mailing list