mailing list of musl libc
 help / color / mirror / code / Atom feed
From: Gregor Pintar <grpintar@gmail.com>
To: musl@lists.openwall.com
Subject: Re: musl 0.9.12 released
Date: Wed, 31 Jul 2013 10:48:49 +0200	[thread overview]
Message-ID: <CAOPXC2nSvSd3E8sbYuhtRKp7-1+db2iRL1rnUWzJKQkHXuLsNw@mail.gmail.com> (raw)
In-Reply-To: <20130730142609.GA2033@Caracal>

2013/7/30, idunham@lavabit.com <idunham@lavabit.com>:
> On Mon, Jul 29, 2013 at 10:14:34PM +0200, Gregor Pintar wrote:
>> 2013/7/29, Szabolcs Nagy <nsz@port70.net>:
>> > * Gregor Pintar <grpintar@gmail.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
>>
>> Yes, x86_64 is correct arch. Target is also correct.
>> "as crt1.s" also works. It's probably something wrong with gcc.
>
> Maybe see what happens if you pass a flag that forces binutils to use
> 64-bit mode (--64 is documented in the as man page)?
>
> It looked to me like gcc generated 64-bit code, then invoked as
> in 32-bit mode.
>
> HTH,
> Isaac Dunham
>

I switched distribution yesterday.
I had similar problem when compiling kernel (it wanted gnu/stubs-32.h).
It was definitely something messed up with gcc.
Now it works.


      reply	other threads:[~2013-07-31  8:48 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-07-29  7:35 Rich Felker
2013-07-29 17:37 ` Gregor Pintar
2013-07-29 18:05   ` Szabolcs Nagy
2013-07-29 20:14     ` Gregor Pintar
2013-07-30 14:26       ` idunham
2013-07-31  8:48         ` Gregor Pintar [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAOPXC2nSvSd3E8sbYuhtRKp7-1+db2iRL1rnUWzJKQkHXuLsNw@mail.gmail.com \
    --to=grpintar@gmail.com \
    --cc=musl@lists.openwall.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).