Discussion:
problems compiling the current cvs dietlibc for arm eabi
i***@arcor.de
2014-04-04 10:21:08 UTC
Permalink
Hi,

trying to (cross) compile the current (4.4.2014) cvs dietlibc I ran into a couple of problems:

- dietuglyweaks.h

in the line:
.type \name,@function

the '@' char is interpreted by the 'gas' as a 'remark start' and it produces error such as:

./dietuglyweaks.h:18: Error: unrecognized symbol type ""

while compiling 'arm/unified.S'.

see https://sourceware.org/binutils/docs/as/Type.html#Type

In the link here they suggest the alternative syntax:

.type \name,STT_FUNC

that fixes the problem for me.

- syscalls.s/_llseek.S

similar as above:

.type llseek,@function

should better be:

.type llseek,STT_FUNC

giorgio


Giorgio, ***@arcor.de

Loading...