when doing a fresh installation of gentoo from a stage1 (possibly also stage2),
the following warning is displayed for each object build is displayed. this also
slows down the compilation process conciderably.
powerpc-unknown-linux-gnu-gcc ../sysdeps/ieee754/dbl-64/e_atanh.c -c -std=gnu99
-O2 -Wall -Winline -Wstrict-prototypes -Wwrite-strings -mabi$
In file included from ../socket/sys/socket.h:27,
../include/sys/uio.h:5: warning: `altivec' attribute ignored
../include/sys/uio.h:7: warning: `altivec' attribute ignored
../include/sys/uio.h:9: warning: `altivec' attribute ignored
../include/sys/uio.h:11: warning: `altivec' attribute ignored
i first thought this is because the gcc in the stage1 is compiled without the
altivec-useflag. but then i found that "emerge -e system" also produces the same
Steps to Reproduce:
1. start from stage1
2. set CHOST="-mcpu=7400 -O2 -pipe -maltivec -mabi=altivec -mpowerpc-gfxopt"
3. /usr/portage/scripts/bootstrap.sh or emerge -e system
it sould at least be possible to recover from this situation. but recompiling
glibc doesnt fix it. i am now trying if first recompiling gcc and then glibc helps.
# in /etc/make.conf: #
CFLAGS="-O2 -pipe -mcpu=7400 -maltivec -mabi=altivec -mpowerpc-gfxopt"
# in /etc/package.use: #
sys-devel/gcc altivec -fortran -gtk
sys-libs/glibc nptl nptlonly userlocales
# versions: #
It should be ignored safely, you can just send the output to dev/null to speed
up the buildtime.
Closing as WONTFIX as it's just a warning that altivec is being applied where
it's not needed. You should also enable jumping or skipping on your terminal so
that this doesn't slow down compiles.