This is the mail archive of the binutils@sourceware.org mailing list for the binutils 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]

Re: ATTRIBUTE_HIDDEN for libbfd.h


>>>>> "Alan" == Alan Modra <amodra@gmail.com> writes:

Alan> 	* libbfd-in.h (ATTRIBUTE_HIDDEN): Define and use throughout.
Alan> 	* configure.ac (HAVE_HIDDEN): Check compiler support for hidden
Alan> 	visibility.
Alan> 	* libbfd.h: Regenerate.
Alan> 	* configure: Regenerate.
Alan> 	* config.in: Regenerate.

I noticed while testing patches on the gdb buildbot that this patch
seems to have broken the mingw build.

../../binutils-gdb/bfd/archive.c:187:1: error: visibility attribute not supported in this configuration; ignored [-Werror=attributes]


I can reproduce this on Fedora by installing the mingw toolchain and
then doing a build like:

../binutils-gdb/configure  --disable-{binutils,gas,gold,gprof,ld,sim} --host=i686-w64-mingw32 --target=i686-w64-mingw32 --enable-targets=all

Tom


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