Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Mon, 29 Jul 2013 19:37:19 +0200
From: Gregor Pintar <grpintar@...il.com>
To: musl@...ts.openwall.com
Subject: Re: musl 0.9.12 released

2013/7/29, Rich Felker <dalias@...ifal.cx>:
> I'm pleased to announce musl 0.9.12, just barely on-schedule:
>
>     Notable new features include zoneinfo timezone support, PIE
>     support on all supported targets, simple heap-based buffer
>     overflow detection in free/realloc, and mildly improved IPv6
>     support. Various dynamic linker improvements have been made for
>     arch variants and non-root installations. The C++ ABI is now
>     stabilized and compatible with glibc's C++ ABI. Several major bugs
>     have been fixed including a potentially-dangerous regression in
>     scanf introduced in 0.9.11 that could pass invalid pointers to
>     free, a flaw in dl_iterate_phdr's reporting of library headers
>     that could crash C++ exception-handling, and longstanding integer
>     overflows in time conversion code that produced incorrect results
>     for certain pre-1935 dates. Other minor bugs have also been fixed.
>
>     http://www.etalabs.net/musl/releases/musl-0.9.12.tar.gz
>     http://www.musl-libc.org/releases/musl-0.9.12.tar.gz
>
> Rather than the usual future-directions here, I'll follow up on the
> roadmap thread/wiki.
>
> Rich
>

I have a problem. When I try to compile it, I get this:

gcc -std=c99 -nostdinc -ffreestanding -fexcess-precision=standard
-frounding-math -D_XOPEN_SOURCE=700 -I./arch/x86_64 -I./src/internal
-I./include  -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 -O2
-fPIC -c -o crt/crt1.o crt/x86_64/crt1.s
crt/x86_64/crt1.s: Assembler messages:
crt/x86_64/crt1.s:7: Error: bad register name `%rbp'
crt/x86_64/crt1.s:8: Error: bad register name `%rdx'
crt/x86_64/crt1.s:9: Error: bad register name `%rsi'
crt/x86_64/crt1.s:10: Error: bad register name `%rsp'
crt/x86_64/crt1.s:11: Error: bad register name `%rsp'
crt/x86_64/crt1.s:12: Error: bad register name `%r8'
crt/x86_64/crt1.s:13: Error: bad register name `%rcx'
crt/x86_64/crt1.s:14: Error: bad register name `%rdi'
make: *** [crt/crt1.o] Error 1

I have Binutils 2.23.1 and GCC 4.8.1.
But it compiles with Clang 3.2.

Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.