Description of problem:
While compiling a package that needs iopl i got this error message on ppc64:
gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector
--param=ssp-buffer-size=4 -m64 -mminimal-toc -o .libs/bmc-watchdog
bmc_watchdog-bmc-watchdog.o ../../libfreeipmi/src/.libs/libfreeipmi.so -lgcrypt
../../libfreeipmi/src/.libs/libfreeipmi.so: undefined reference to `inb'
../../libfreeipmi/src/.libs/libfreeipmi.so: undefined reference to `outb'
../../libfreeipmi/src/.libs/libfreeipmi.so: undefined reference to `iopl'
After looking into it it turns out that ppc64 doesn't come with a sys/io.h
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Try compile an application that uses iopl on ppc64
2. Watch it fail
Program should compile resp. sys/io.h should be present on ppc64.
I'm not sure if iopl and friends are available at all on ppc64, so this might
actually be NOTABUG and just not possible on ppc64.
It is NOTABUG. ppc64 doesn't have this I/O port concept, at least not exposed
to userlevel. The code must be ported to ppc64.
Yeah, there is no iopl and friends, only mmapped io, on ppc*, sparc*, s390*
and most other arches. Only i?86, x86_64, ia64 and alpha have it.
Ok, thanks, clearly notabug then.
Read ya, Phil