Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20130729180538.GD25714@port70.net>
Date: Mon, 29 Jul 2013 20:05:38 +0200
From: Szabolcs Nagy <nsz@...t70.net>
To: musl@...ts.openwall.com
Subject: Re: musl 0.9.12 released

* Gregor Pintar <grpintar@...il.com> [2013-07-29 19:37:19 +0200]:
> 
> I have a problem. When I try to compile it, I get this:
> 

are you sure the x86_64 arch is correct?

seems gcc does not know about x86_64 registers in the asm

i'd check the target in gcc -v

> 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.