Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 86819 - schedutils-1.1.0 fails to build as PIC
Summary: schedutils-1.1.0 fails to build as PIC
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-03-26 18:43 UTC by spiritus
Modified: 2005-06-09 18:08 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 spiritus 2005-03-26 18:43:39 UTC
$ emerge schedutils
Calculating dependencies ...done!
>>> emerge (1 of 1) sys-process/schedutils-1.1.0 to /
>>> md5 src_uri ;-) schedutils-1.1.0.tar.gz
>>> Unpacking source...
>>> Unpacking schedutils-1.1.0.tar.gz to /var/tmp/portage/schedutils-1.1.0/work
>>> Source unpacked.
lsrtgcc -Wall -Wstrict-prototypes -W -O2 -o chrt chrt.c
gcc -Wall -Wstrict-prototypes -W -O2 -o taskset taskset.c
In file included from taskset.c:47:
include/taskset.h: In function `sched_setaffinity':
include/taskset.h:45: error: can't find a register in class `BREG' while reloading `asm'
make: *** [taskset] Error 1
make: *** Waiting for unfinished jobs....

!!! ERROR: sys-process/schedutils-1.1.0 failed.
!!! Function src_compile, Line 27, Exitcode 2
!!! Make failed
!!! If you need support, post the topmost build error, NOT this status message.

The ebuild bulds well after switching gcc to vanilla-gcc-3.3.5 via gcc-config.


Reproducible: Always
Steps to Reproduce:




$ gcc --version
gcc (GCC) 3.3.5  (Gentoo Hardened Linux 3.3.5-r1, ssp-3.3.2-3, pie-8.7.7.1)
Copyright (C) 2003 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Comment 1 SpanKY gentoo-dev 2005-03-28 19:27:04 UTC
does 1.3.5 work ?
Comment 2 SpanKY gentoo-dev 2005-06-09 18:08:34 UTC
1.3.5 appears to build fine with -fPIC