Bug 115539 - Keyword ~arch xorg-x11-7.0.0_rc3-r1 and mesa-progs
Bug#: 115539 Product:  Gentoo Linux Version: unspecified Platform: All
OS/Version: Linux Status: RESOLVED Severity: normal Priority: P2
Resolution: FIXED Assigned To: x11@gentoo.org Reported By: dberkholz@gentoo.org
Component: Applications
URL: 
Summary: Keyword ~arch xorg-x11-7.0.0_rc3-r1 and mesa-progs
Keywords:  
Status Whiteboard: 
Opened: 2005-12-14 08:12 0000
Description:   Opened: 2005-12-14 08:12 0000
I just added mesa-progs to provide glxinfo and glxgears, and bumped xorg-x11 to
add it to the deps. You'll need to rekeyword xorg-x11 and keyword mesa-progs.

Thanks!

------- Comment #1 From Herbie Hopkins (RETIRED) 2005-12-14 08:43:12 0000 -------
>  echo "PIC_FLAGS = -fPIC" >> ${HOSTCONF}

Why compile these two executables with -fPIC?

------- Comment #2 From Donnie Berkholz 2005-12-14 09:39:53 0000 -------
(In reply to comment #1)
> >  echo "PIC_FLAGS = -fPIC" >> ${HOSTCONF}
> 
> Why compile these two executables with -fPIC?

That's just copied over from the mesa ebuild, along with most of the rest of the
setup. Is there a reason it should be changed?

------- Comment #3 From Donnie Berkholz 2005-12-14 09:40:25 0000 -------
BTW, see http://bugs.gentoo.org/show_bug.cgi?id=112896#add_comment for how to
fix your repoman errors in xorg-x11. Same fix is in CVS.

------- Comment #4 From Donnie Berkholz 2005-12-14 09:41:13 0000 -------
Woops, meant http://bugs.gentoo.org/show_bug.cgi?id=112896#c41

------- Comment #5 From Herbie Hopkins (RETIRED) 2005-12-14 10:05:07 0000 -------
(In reply to comment #2)
> That's just copied over from the mesa ebuild, along with most of the rest of the
> setup. Is there a reason it should be changed?

Whilst there's no performance penalty for compiling shared libraries with -fPIC
there certainly is when compiling executables. I guess that's of little
consequence with glxgears/glxinfo but it's also against gentoo ebuild policy
(which states that only shared libraries should be built with -fPIC).

------- Comment #6 From Ferris McCormick 2005-12-14 10:39:45 0000 -------
OK for sparc, so both keyworded ~sparc.

------- Comment #7 From Donnie Berkholz 2005-12-14 13:32:13 0000 -------
I've removed the PIC_FLAGS setting in the ebuild.

------- Comment #8 From Herbie Hopkins (RETIRED) 2005-12-14 15:19:20 0000 -------
Both marked ~amd64.

------- Comment #9 From Stephen Becker (RETIRED) 2005-12-16 14:48:34 0000 -------
~mips

------- Comment #10 From Doug Goldstein 2005-12-24 22:08:41 0000 -------
done. ~ppc