<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "http://bugs.gentoo.org/bugzilla.dtd">

<bugzilla version="2.22.7"
          urlbase="http://bugs.gentoo.org/"
          maintainer="bugzilla@gentoo.org"
>

    <bug>
          <bug_id>26885</bug_id>
          
          <creation_ts>2003-08-18 14:48 0000</creation_ts>
          <short_desc>emerge of rss_glx fails if -fPIC is set in CFLAGS</short_desc>
          <delta_ts>2003-08-18 17:51:47 0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Gentoo Linux</product>
          <component>Ebuilds</component>
          <version>unspecified</version>
          <rep_platform>All</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>svein.brostigen@oracle.com</reporter>
          <assigned_to>bug-wranglers@gentoo.org</assigned_to>
          

      

      
          <long_desc isprivate="0">
            <who>svein.brostigen@oracle.com</who>
            <bug_when>2003-08-18 14:48:56 0000</bug_when>
            <thetext>When trying to emerge x11-misc/rss_glx, the compile phase fails if the -fPIC
flag is set in CFLAGS in /etc/make.conf.

Would it be possible to change the ebuild to remove this specific flag?</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>vapier@gentoo.org</who>
            <bug_when>2003-08-18 16:43:29 0000</bug_when>
            <thetext>i&apos;ve filtered it in the 0.7.x ebuilds but i&apos;d suggest you remove -fPIC from CFLAGS 
since we dont support it </thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>svein.brostigen@oracle.com</who>
            <bug_when>2003-08-18 17:36:20 0000</bug_when>
            <thetext>Gentoo does not support -fPIC? That is news to me. Is this a new policy started 
just now? 
This flag is necessary for prelinking to work and if we don&apos;t support it, we 
need to remove prelink from the Portage tree since it relies on having the 
ebuilds compiled with the Position Indepedent Code flag set so it can 
pre-calculate the load position rather than having the dynamic linker do that 
during startup of the application. 
 
If we don&apos;t support -fPIC then it has some serious implications. 
 </thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>vapier@gentoo.org</who>
            <bug_when>2003-08-18 17:51:47 0000</bug_when>
            <thetext>we dont support users setting fpic ... we let the packages do it themselves ... 
 
there was quite a large discussion this sometime ago, i dont have it in my 
mailbox any longer so i cant quote it ... 
 
but it&apos;s why you wont find the &apos;pic&apos; USE flag in portage anymore </thetext>
          </long_desc>
      
    </bug>

</bugzilla>