mailing list of musl libc
 help / color / mirror / code / Atom feed
From: stephen Turner <stephen.n.turner@gmail.com>
To: musl@lists.openwall.com
Subject: -march
Date: Sat, 17 Jan 2015 17:10:40 -0500	[thread overview]
Message-ID: <CAA7aPHhW5niL7O3Hw_y7BVD6do2iW5M6fm4gd7EeuTfX4B1WyQ@mail.gmail.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 1047 bytes --]

So i have been allowing musl to auto detect/compile and it seems to have
always selected i386 by default. I wanted to build it for 686 and noticed
the --target= didnt seem to do it on my system I specified -march to cflags
and it still shows i386 for the link. The link is supposed to change
correct? IE ld-musl-$ARCH.so.1? it appears on my debian vm to always be
ld-musl-i386.so.1 is it instead pulling the $ARCH var from somewhere off my
debian system instead of what it was compiled for?

as far as the actual code in the libs, it could have been built in i686
form both times but i did not try to check it by any means other than
glancing at the link. I know the -march=i686 was passed during the compile
process though. while watching the compile output stream by.

Im not sure exactly what is going on at the moment, im assuming i may not
be doing something right?  A readelf output said the machine is intel 80386
(In the event thats pointing to my processor im running a quad 64 bit amd)

thanks for any help and insight.

thanks,
stephen

[-- Attachment #2: Type: text/html, Size: 1176 bytes --]

             reply	other threads:[~2015-01-17 22:10 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-01-17 22:10 stephen Turner [this message]
2015-01-17 22:20 ` -march Rich Felker
2015-01-17 23:31   ` -march stephen Turner

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=CAA7aPHhW5niL7O3Hw_y7BVD6do2iW5M6fm4gd7EeuTfX4B1WyQ@mail.gmail.com \
    --to=stephen.n.turner@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).