bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug binutils/13121] bfd HEAD 2011-08-23 does not build on AIX 5.3 witho


From: sms at antinode dot info
Subject: [Bug binutils/13121] bfd HEAD 2011-08-23 does not build on AIX 5.3 without --enable-werror=no
Date: Wed, 04 Jan 2012 06:01:09 +0000

http://sourceware.org/bugzilla/show_bug.cgi?id=13121

Steven Schweda <sms at antinode dot info> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |sms at antinode dot info

--- Comment #3 from Steven Schweda <sms at antinode dot info> 2012-01-04 
06:01:09 UTC ---
   I was recently trying to build 2.22 on my AIX (6.1) system when I ran
into this problem.  My solution was simple: Change the variable name
"finfo" to something less collision-prone ("flaginfo"):

blue# diff -u bfd/reloc.c_orig bfd/reloc.c
--- bfd/reloc.c_orig    2011-07-24 09:20:06.000000000 -0500
+++ bfd/reloc.c 2011-12-31 00:32:36.000000000 -0600
@@ -6124,9 +6124,9 @@

  void
  bfd_generic_lookup_section_flags (struct bfd_link_info *info
ATTRIBUTE_UNUSED,
-                                 struct flag_info *finfo)
+                                 struct flag_info *flaginfo)
  {
-   if (finfo != NULL)
+   if (flaginfo != NULL)
      {
        (*_bfd_error_handler) (_("INPUT_SECTION_FLAGS are not supported.\n"));
        return;


   To me, that seemed effective and harmless.  Around here:

blue# uname -a
AIX blue 1 6 000F1F6E4C00

blue# gcc --version
gcc (GCC) 4.2.0
[...]

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]