mailing list of musl libc
 help / color / mirror / code / Atom feed
* musl 1.1.0 on odriod
@ 2014-04-25 13:09 Jens
  2014-04-25 14:52 ` Rich Felker
  0 siblings, 1 reply; 2+ messages in thread
From: Jens @ 2014-04-25 13:09 UTC (permalink / raw)
  To: musl


musl 1.0.1 compiles fine.

Which is an arm of some sort.
root@odroid-server:/usr/src/musl-1.1.0# cat /proc/cpuinfo
processor	: 0
model name	: ARMv7 Processor rev 0 (v7l)
BogoMIPS	: 3394.86
Features	: swp half thumb fastmult vfp edsp thumbee neon vfpv3 tls
CPU implementer	: 0x41
CPU architecture: 7
CPU variant	: 0x3
CPU part	: 0xc09
CPU revision	: 0

root@odroid-server:/usr/src/musl-1.1.0# make
gcc -std=c99 -nostdinc -ffreestanding -fexcess-precision=standard 
-frounding-math -D_XOPEN_SOURCE=700 -I./arch/arm -I./src/internal 
-I./include  -Os -pipe -fomit-frame-pointer -fno-unwind-tables 
-fno-asynchronous-unwind-tables -Wa,--noexecstack 
-Werror=implicit-function-declaration -Werror=implicit-int 
-Werror=pointer-sign -Werror=pointer-arith -fno-stack-protector  -c -o 
crt/crt1.o crt/arm/crt1.s
cp crt/crt1.o lib/crt1.o
gcc -std=c99 -nostdinc -ffreestanding -fexcess-precision=standard 
-frounding-math -D_XOPEN_SOURCE=700 -I./arch/arm -I./src/internal 
-I./include  -Os -pipe -fomit-frame-pointer -fno-unwind-tables 
-fno-asynchronous-unwind-tables -Wa,--noexecstack 
-Werror=implicit-function-declaration -Werror=implicit-int 
-Werror=pointer-sign -Werror=pointer-arith -fno-stack-protector  -fPIC -c 
-o crt/Scrt1.o crt/arm/Scrt1.s
cp crt/Scrt1.o lib/Scrt1.o
gcc -std=c99 -nostdinc -ffreestanding -fexcess-precision=standard 
-frounding-math -D_XOPEN_SOURCE=700 -I./arch/arm -I./src/internal 
-I./include  -Os -pipe -fomit-frame-pointer -fno-unwind-tables 
-fno-asynchronous-unwind-tables -Wa,--noexecstack 
-Werror=implicit-function-declaration -Werror=implicit-int 
-Werror=pointer-sign -Werror=pointer-arith -fno-stack-protector  -c -o 
crt/crti.o crt/arm/crti.s
cp crt/crti.o lib/crti.o
gcc -std=c99 -nostdinc -ffreestanding -fexcess-precision=standard 
-frounding-math -D_XOPEN_SOURCE=700 -I./arch/arm -I./src/internal 
-I./include  -Os -pipe -fomit-frame-pointer -fno-unwind-tables 
-fno-asynchronous-unwind-tables -Wa,--noexecstack 
-Werror=implicit-function-declaration -Werror=implicit-int 
-Werror=pointer-sign -Werror=pointer-arith -fno-stack-protector  -c -o 
crt/crtn.o crt/arm/crtn.s
cp crt/crtn.o lib/crtn.o
ln -sf ../arch/arm/bits include/bits
sed -f tools/mkalltypes.sed include/bits/alltypes.h.in 
include/alltypes.h.in > include/bits/alltypes.h
gcc -std=c99 -nostdinc -ffreestanding -fexcess-precision=standard 
-frounding-math -D_XOPEN_SOURCE=700 -I./arch/arm -I./src/internal 
-I./include  -Os -pipe -fomit-frame-pointer -fno-unwind-tables 
-fno-asynchronous-unwind-tables -Wa,--noexecstack 
-Werror=implicit-function-declaration -Werror=implicit-int 
-Werror=pointer-sign -Werror=pointer-arith -fno-stack-protector  -c -o 
arch/arm/src/__aeabi_atexit.o arch/arm/src/__aeabi_atexit.c
gcc -std=c99 -nostdinc -ffreestanding -fexcess-precision=standard 
-frounding-math -D_XOPEN_SOURCE=700 -I./arch/arm -I./src/internal 
-I./include  -Os -pipe -fomit-frame-pointer -fno-unwind-tables 
-fno-asynchronous-unwind-tables -Wa,--noexecstack 
-Werror=implicit-function-declaration -Werror=implicit-int 
-Werror=pointer-sign -Werror=pointer-arith -fno-stack-protector  -c -o 
arch/arm/src/find_exidx.o arch/arm/src/find_exidx.c
gcc -std=c99 -nostdinc -ffreestanding -fexcess-precision=standard 
-frounding-math -D_XOPEN_SOURCE=700 -I./arch/arm -I./src/internal 
-I./include  -Os -pipe -fomit-frame-pointer -fno-unwind-tables 
-fno-asynchronous-unwind-tables -Wa,--noexecstack 
-Werror=implicit-function-declaration -Werror=implicit-int 
-Werror=pointer-sign -Werror=pointer-arith -fno-stack-protector  -c -o 
src/aio/aio_cancel.o src/aio/aio_cancel.c
gcc -std=c99 -nostdinc -ffreestanding -fexcess-precision=standard 
-frounding-math -D_XOPEN_SOURCE=700 -I./arch/arm -I./src/internal 
-I./include  -Os -pipe -fomit-frame-pointer -fno-unwind-tables 
-fno-asynchronous-unwind-tables -Wa,--noexecstack 
-Werror=implicit-function-declaration -Werror=implicit-int 
-Werror=pointer-sign -Werror=pointer-arith -fno-stack-protector  -c -o 
src/aio/aio_error.o src/aio/aio_error.c
gcc -std=c99 -nostdinc -ffreestanding -fexcess-precision=standard 
-frounding-math -D_XOPEN_SOURCE=700 -I./arch/arm -I./src/internal 
-I./include  -Os -pipe -fomit-frame-pointer -fno-unwind-tables 
-fno-asynchronous-unwind-tables -Wa,--noexecstack 
-Werror=implicit-function-declaration -Werror=implicit-int 
-Werror=pointer-sign -Werror=pointer-arith -fno-stack-protector  -c -o 
src/aio/aio_fsync.o src/aio/aio_fsync.c
gcc -std=c99 -nostdinc -ffreestanding -fexcess-precision=standard 
-frounding-math -D_XOPEN_SOURCE=700 -I./arch/arm -I./src/internal 
-I./include  -Os -pipe -fomit-frame-pointer -fno-unwind-tables 
-fno-asynchronous-unwind-tables -Wa,--noexecstack 
-Werror=implicit-function-declaration -Werror=implicit-int 
-Werror=pointer-sign -Werror=pointer-arith -fno-stack-protector  -c -o 
src/aio/aio_readwrite.o src/aio/aio_readwrite.c
{standard input}: Assembler messages:
{standard input}:34: Error: thumb conditional instruction should be in IT 
block -- `strexeq r3,r1,[r0,#0]'
{standard input}:35: Error: thumb conditional instruction should be in IT 
block -- `teqeq r3,#1'
make: *** [src/aio/aio_readwrite.o] Error 1



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: musl 1.1.0 on odriod
  2014-04-25 13:09 musl 1.1.0 on odriod Jens
@ 2014-04-25 14:52 ` Rich Felker
  0 siblings, 0 replies; 2+ messages in thread
From: Rich Felker @ 2014-04-25 14:52 UTC (permalink / raw)
  To: musl

On Fri, Apr 25, 2014 at 03:09:49PM +0200, Jens wrote:
> gcc -std=c99 -nostdinc -ffreestanding -fexcess-precision=standard
> -frounding-math -D_XOPEN_SOURCE=700 -I./arch/arm -I./src/internal
> -I./include  -Os -pipe -fomit-frame-pointer -fno-unwind-tables
> -fno-asynchronous-unwind-tables -Wa,--noexecstack
> -Werror=implicit-function-declaration -Werror=implicit-int
> -Werror=pointer-sign -Werror=pointer-arith -fno-stack-protector  -c
> -o src/aio/aio_readwrite.o src/aio/aio_readwrite.c
> {standard input}: Assembler messages:
> {standard input}:34: Error: thumb conditional instruction should be
> in IT block -- `strexeq r3,r1,[r0,#0]'
> {standard input}:35: Error: thumb conditional instruction should be
> in IT block -- `teqeq r3,#1'
> make: *** [src/aio/aio_readwrite.o] Error 1

Adding -marm should fix it (generate arm code instead of thumb) but I
think we should fix this. Ideas?

Rich


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-04-25 14:52 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-04-25 13:09 musl 1.1.0 on odriod Jens
2014-04-25 14:52 ` Rich Felker

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/musl/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).