problems compiling the current cvs dietlibc for arm eabi

[email protected] Fri, 4 Apr 2014 12:21:08 +0200 (CEST)
Newsgroups gmane.linux.lib.dietlibc
Message-ID <183398610.242194.1396606868258.JavaMail.ngmail@webmail14.arcor-online.net>
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, [email protected]