This is the mail archive of the libc-alpha@sources.redhat.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

CVS build failure regarding '_dl_hwcap'


Hi.

I tried building the current mainline CVS a day or two ago and things
failed due to the following error:

dl-support.c:124: error: conflicting types for '_dl_hwcap'
../sysdeps/generic/ldsodefs.h:614: error: previous declaration of '_dl_hwcap' was here
dl-support.c:124: error: conflicting types for '_dl_hwcap'
../sysdeps/generic/ldsodefs.h:614: error: previous declaration of '_dl_hwcap' was here
dl-support.c:124: error: conflicting types for '_dl_hwcap'
../sysdeps/generic/ldsodefs.h:614: error: previous declaration of '_dl_hwcap' was here
dl-support.c:124: error: conflicting types for '_dl_hwcap'
../sysdeps/generic/ldsodefs.h:614: error: previous declaration of '_dl_hwcap' was here
dl-support.c:124: error: conflicting types for '_dl_hwcap'
../sysdeps/generic/ldsodefs.h:614: error: previous declaration of '_dl_hwcap' was here
dl-support.c:124: error: conflicting types for '_dl_hwcap'
../sysdeps/generic/ldsodefs.h:614: error: previous declaration of '_dl_hwcap' was here

I was building on an up-to-date FC3 machine using GCC-3.4, and against the
current linux-2.6 headers plus a small patch to include/linux/atalk.h
that David Miller posted to LMKL several days ago to fix build failures
against these include files.

The ldsodefs.h file was changed in a patch sent in on April 4 fixing
various sparc issues, and in this patch the _dl_hwcap type was changed
from an unsigned long in to uint64_t.

Art Haas
-- 
Man once surrendering his reason, has no remaining guard against absurdities
the most monstrous, and like a ship without rudder, is the sport of every wind.

-Thomas Jefferson to James Smith, 1822


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]