sm-commit AT lists.ibiblio.org
Subject: Source Mage code commit list
List archive
Re: [SM-Commit] GIT changes to master grimoire by Sukneet Basuta (633033f612674791dbadcae5f209c62426e457c7)
- From: Sukneet Basuta <sukneet AT gmail.com>
- To: Thomas Orgis <thomas-forum AT orgis.org>
- Cc: sm-commit AT lists.ibiblio.org
- Subject: Re: [SM-Commit] GIT changes to master grimoire by Sukneet Basuta (633033f612674791dbadcae5f209c62426e457c7)
- Date: Fri, 25 May 2012 21:24:43 -0400
On Fri, May 25, 2012 at 8:21 PM, Thomas Orgis <thomas-forum AT orgis.org> wrote:
> Am Fri, 25 May 2012 16:47:56 -0400
> schrieb Sukneet Basuta <sukneet AT gmail.com>:
>
>> On Fri, May 25, 2012 at 4:27 PM, Vlad Glagolev <stealth AT sourcemage.org>
>> wrote:
>> > Doesn't x86_64 arch already pass this flag?
>> >
>>
>> native-x86_64-64 does not seem to.
>
> That is curious. All my archspecs in the x86_64 category do. Like that:
>
> if use_gcc 3.3. ; then
> CFLAGS="-march=x86-64 -fPIC -DPIC"
> elif use_gcc2 ; then
> CFLAGS="-march=i686"
> else
> CFLAGS="-march=k8 -fPIC -DPIC"
> fi
>
> (Hey, hey, a trace of prehistoric gcc;-) How come that this doesn't apply
> for you?
In /usr/share/archspecs/64/x86_64/native-x86_64-64 I have
CPUNAME="Auto-detected x86_64 architecture 64-bit mode"
if use_gcc 3.3. || use_gcc 3.4. || use_gcc 4.0. || use_gcc 4.1. ; then
CFLAGS="-march=x86-64 -fPIC -DPIC -m64"
HOST="x86_64-pc-linux-gnu"
elif use_gcc2 ; then
CFLAGS="-march=i486"
HOST="i486-pc-linux-gnu"
else
CFLAGS="-march=native -mtune=native -m64"
HOST="x86_64-pc-linux-gnu"
fi
FAST="-O3"
SMALL="-Os"
So with gcc > 4.1 the CFLAGS do not have -fPIC . That seems to be the
case in git as well
http://scmweb.sourcemage.org/gitweb.cgi?p=smgl/misc/archspecs.git;a=blob;f=64/x86_64/native-x86_64-64;h=ed72691c1a784eacce43c3be2ffc9dfae2ff1121;hb=HEAD
-
[SM-Commit] GIT changes to master grimoire by Sukneet Basuta (633033f612674791dbadcae5f209c62426e457c7),
Sukneet Basuta, 05/25/2012
-
Re: [SM-Commit] GIT changes to master grimoire by Sukneet Basuta (633033f612674791dbadcae5f209c62426e457c7),
Vlad Glagolev, 05/25/2012
-
Re: [SM-Commit] GIT changes to master grimoire by Sukneet Basuta (633033f612674791dbadcae5f209c62426e457c7),
Sukneet Basuta, 05/25/2012
-
Re: [SM-Commit] GIT changes to master grimoire by Sukneet Basuta (633033f612674791dbadcae5f209c62426e457c7),
Thomas Orgis, 05/25/2012
-
Re: [SM-Commit] GIT changes to master grimoire by Sukneet Basuta (633033f612674791dbadcae5f209c62426e457c7),
Sukneet Basuta, 05/25/2012
-
Re: [SM-Commit] GIT changes to master grimoire by Sukneet Basuta (633033f612674791dbadcae5f209c62426e457c7),
Thomas Orgis, 05/26/2012
- Re: [SM-Commit] GIT changes to master grimoire by Sukneet Basuta (633033f612674791dbadcae5f209c62426e457c7), Sukneet Basuta, 05/26/2012
-
Re: [SM-Commit] GIT changes to master grimoire by Sukneet Basuta (633033f612674791dbadcae5f209c62426e457c7),
Thomas Orgis, 05/26/2012
-
Re: [SM-Commit] GIT changes to master grimoire by Sukneet Basuta (633033f612674791dbadcae5f209c62426e457c7),
Sukneet Basuta, 05/25/2012
-
Re: [SM-Commit] GIT changes to master grimoire by Sukneet Basuta (633033f612674791dbadcae5f209c62426e457c7),
Thomas Orgis, 05/25/2012
-
Re: [SM-Commit] GIT changes to master grimoire by Sukneet Basuta (633033f612674791dbadcae5f209c62426e457c7),
Sukneet Basuta, 05/25/2012
-
Re: [SM-Commit] GIT changes to master grimoire by Sukneet Basuta (633033f612674791dbadcae5f209c62426e457c7),
Vlad Glagolev, 05/25/2012
Archive powered by MHonArc 2.6.24.