grub-devel.gnu.org archive mirror
 help / color / mirror / Atom feed
From: Andrei Borzenkov <arvidjaar@gmail.com>
To: grub-devel@gnu.org
Subject: On MIPS clang default to different arch than GNU
Date: Sun, 19 Jul 2015 10:33:50 +0300	[thread overview]
Message-ID: <20150719103350.7c6096db@opensuse.site> (raw)

clang -cc1 version 3.8.0 based upon LLVM 3.8.0svn default target x86_64-unknown-linux-gnu
ignoring nonexistent directory "/include"
#include "..." search starts here:
#include <...> search starts here:
 /usr/local/include
 /home/bor/build/clang/bin/../lib/clang/3.8.0/include
 /usr/include
End of search list.
 "/usr/bin/mips-suse-linux-as" -march mips32r2 -mabi 32 -call_nonpic -EB -msoft-float -KPIC -o conftest /tmp/foo-3da0d2.s
bor@opensuse:~/src/llvm/tools/clang> file conftest 
conftest: ELF 32-bit MSB relocatable, MIPS, MIPS32 rel2 version 1 (SYSV), not stripped

While for the same file GAS creates

bor@opensuse:~/build/grub> mips-suse-linux-as -v asm-tests/mips.S 
GNU assembler version 2.24.0 (mips-suse-linux) using BFD version (GNU Binutils; openSUSE 13.2) 2.24.0.20140403-6.1
bor@opensuse:~/build/grub> file a.out 
a.out: ELF 32-bit MSB relocatable, MIPS, MIPS-I version 1 (SYSV), not stripped
bor@opensuse:~/build/grub> 

(using -integrated-as does not change it - arch is still the same).

Not sure if it matters.



             reply	other threads:[~2015-07-19  7:34 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-07-19  7:33 Andrei Borzenkov [this message]
2015-07-22  0:05 ` On MIPS clang default to different arch than GNU Vladimir 'φ-coder/phcoder' Serbinenko
2015-07-22  3:24   ` Andrei Borzenkov

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=20150719103350.7c6096db@opensuse.site \
    --to=arvidjaar@gmail.com \
    --cc=grub-devel@gnu.org \
    /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.
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).