Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 45716 - after dietlibc fix (see bug #45601) fnord refuses to compile on sparc64 ...
Summary: after dietlibc fix (see bug #45601) fnord refuses to compile on sparc64 ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: Sparc All
: High normal
Assignee: Sparc Porters
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-03-25 09:00 UTC by Michael Hellwig
Modified: 2004-03-25 13:42 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Hellwig 2004-03-25 09:00:16 UTC
error is the following:

diet -Os gcc -o httpd httpd.o libowfat.a -mcpu=ultrasparc -O3 -pipe
httpd.o(.text+0x1774): In function `doit':
: undefined reference to `fstat64'
httpd.o(.text+0x1ca8): In function `handledirlist':
: undefined reference to `stat64'
httpd.o(.text+0x1e2c): In function `handledirlist':
: undefined reference to `lstat64'
httpd.o(.text+0x2084): In function `handleindexcgi':
: undefined reference to `stat64'
httpd.o(.text+0x247c): In function `serve_read_write':
: undefined reference to `lseek64'
httpd.o(.text+0x28b4): In function `serve_static_data':
: undefined reference to `lseek64'
collect2: ld returned 1 exit status
make: *** [httpd] Error 1
Comment 1 Jason Wever (RETIRED) gentoo-dev 2004-03-25 13:42:33 UTC
So after further investigation, both dietlibc and fnord need to be built with an -mcpu value less than v9 or ultrasparc.  I'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'll need to re-emerge dietlibc once it hits the mirrors.