Skip to Content.
Sympa Menu

sm-commit - Re: [SM-Commit] GIT changes to master grimoire by Sukneet Basuta (633033f612674791dbadcae5f209c62426e457c7)

sm-commit AT lists.ibiblio.org

Subject: Source Mage code commit list

List archive

Chronological Thread  
  • From: Thomas Orgis <thomas-forum AT orgis.org>
  • To: Sukneet Basuta <sukneet AT gmail.com>
  • Cc: sm-commit AT lists.ibiblio.org
  • Subject: Re: [SM-Commit] GIT changes to master grimoire by Sukneet Basuta (633033f612674791dbadcae5f209c62426e457c7)
  • Date: Sat, 26 May 2012 10:10:52 +0200

Am Fri, 25 May 2012 21:24:43 -0400
schrieb Sukneet Basuta <sukneet AT gmail.com>:

> In /usr/share/archspecs/64/x86_64/native-x86_64-64 I have

Of course I overlooked this one (just looked
at /usr/share/archspecs/64/x86_64/*/*/*).

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

Yes. And, apart from the funny business in all specs with a compiler
that cannot even produce x86-64 code, this seems to be a mistake.

Care to change and test? Just append -fPIC -DPIC unless someone screams
about a good reason for them not being there.


Alrighty then,

Thomas

Attachment: signature.asc
Description: PGP signature




Archive powered by MHonArc 2.6.24.

Top of Page