<?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>45716</bug_id>
          
          <creation_ts>2004-03-25 09:00 0000</creation_ts>
          <short_desc>after dietlibc fix (see bug #45601) fnord refuses to compile on sparc64 ...</short_desc>
          <delta_ts>2004-03-25 13:42:33 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>Sparc</rep_platform>
          <op_sys>All</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>mhellwig@gmx.at</reporter>
          <assigned_to>sparc@gentoo.org</assigned_to>
          

      

      
          <long_desc isprivate="0">
            <who>mhellwig@gmx.at</who>
            <bug_when>2004-03-25 09:00:16 0000</bug_when>
            <thetext>error is the following:

diet -Os gcc -o httpd httpd.o libowfat.a -mcpu=ultrasparc -O3 -pipe
httpd.o(.text+0x1774): In function `doit&apos;:
: undefined reference to `fstat64&apos;
httpd.o(.text+0x1ca8): In function `handledirlist&apos;:
: undefined reference to `stat64&apos;
httpd.o(.text+0x1e2c): In function `handledirlist&apos;:
: undefined reference to `lstat64&apos;
httpd.o(.text+0x2084): In function `handleindexcgi&apos;:
: undefined reference to `stat64&apos;
httpd.o(.text+0x247c): In function `serve_read_write&apos;:
: undefined reference to `lseek64&apos;
httpd.o(.text+0x28b4): In function `serve_static_data&apos;:
: undefined reference to `lseek64&apos;
collect2: ld returned 1 exit status
make: *** [httpd] Error 1</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>weeve@gentoo.org</who>
            <bug_when>2004-03-25 13:42:33 0000</bug_when>
            <thetext>So after further investigation, both dietlibc and fnord need to be built with an -mcpu value less than v9 or ultrasparc.  I&apos;d added the replace-sparc64-flags which will adjust any -mcpu=ultrasparc or -mcpu=v9 to -mcpu=v8 to the existing dietlibc and fnord ebuilds.  You&apos;ll need to re-emerge dietlibc once it hits the mirrors.</thetext>
          </long_desc>
      
    </bug>

</bugzilla>