Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 63346 - clockspeed compile error on sparc
Summary: clockspeed compile error on sparc
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: Sparc Linux
: High normal (vote)
Assignee: Sparc Porters
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-09-08 13:57 UTC by David E. Smith
Modified: 2004-09-09 10:34 UTC (History)
0 users

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


Attachments
compiler output for clockspeed (clockspeed.txt,7.37 KB, text/plain)
2004-09-08 13:58 UTC, David E. Smith
Details

Note You need to log in before you can comment on or make changes to this bug.
Description David E. Smith 2004-09-08 13:57:46 UTC
clockspeed won't compile on sparc. The compile errors will appear shortly in an attachment.

Reproducible: Always
Steps to Reproduce:
1. type 'emerge clockspeed'
2. wait for it to break
3. file bug report :-)




'emerge info' output as requested:

phoenix dave # emerge info
Portage 2.0.50-r11 (default-sparc64-2004.0, gcc-3.3.4, glibc-2.3.3.20040420-r1,
2.6.7)
=================================================================
System uname: 2.6.7 sparc64 sun4u
Gentoo Base System version 1.5.3
Autoconf: sys-devel/autoconf-2.59-r4
Automake: sys-devel/automake-1.8.5-r1
ACCEPT_KEYWORDS="sparc ~sparc"
AUTOCLEAN="yes"
CFLAGS="-O3 -pipe -mcpu=ultrasparc"
CHOST="sparc-unknown-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config
/usr/share/config /var/bind /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O3 -pipe -mcpu=ultrasparc"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache sandbox"
GENTOO_MIRRORS="http://mirrors.tds.net/gentoo
ftp://ftp.gtlib.cc.gatech.edu/pub/gentoo ftp://ftp.ussg.iu.edu/pub/linux/gentoo
http://gentoo.netnitco.net"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="aalib aim arts avi berkdb crypt cups encode esd fbcon freetds gdbm gif gpm
imlib jpeg libwww mad mikmod motif mpeg mysql ncurses nls oggvorbis oss pam
pdflib perl php png python readline sdl slang sparc spell ssl tcpd truetype xml2
xmms xv zlib"
Comment 1 David E. Smith 2004-09-08 13:58:50 UTC
Created attachment 39214 [details]
compiler output for clockspeed
Comment 2 Gustavo Zacarias (RETIRED) gentoo-dev 2004-09-09 10:34:00 UTC
The problem is that clockspeed wants a high resolution time source, and just uses either TSC (an x86 thing) or gethrtime() which is only present on rtlinux and a few commercial unixes.
The compile error is due to bad coding, they're placing the error message in line 18 of clockspeed.c without printing it in any way, just like a C compiler would understand that. Basically it's talking about what i said before.
This app won't work with some tweaking, so i'm closing as WONTFIX.
Sorry, and thanks for the report.