binutils test failure
Tobias Gasser
lfs at ebp-gasser.ch
Thu Jun 4 14:06:57 MDT 2009
libiberty/testsuite/test-demangle.c
error: conflicting types for 'getline'
stdio.h now defines getline().
i didn't check wether older versions did this define too, or another
include is responsible for setting __USE_XOPEN2K8 requireing stdio.h to
define this function. i've no clue what "Define XPG7 thins" means (found
in features.h)
hotfix:
sed -i -e 's/getline/_getline/' libiberty/testsuite/test-demangle.c
i assume to get some more errors with the same issue...
it's not really a problem. i just think it might be helpfull to know for
anybody having similar problems with other packages.
greeting
tobs
More information about the lfs-dev
mailing list