This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


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

libstdc++-v3 won't build on AIX 4.1 any more (3.0 branch)


linking /home/lsd/oliva/src/tool/egcs/libstdc++-v3/config/os/generic/bits/atomicity.h to include/bits/atomicity.h
configure: error: /home/lsd/oliva/src/tool/egcs/libstdc++-v3/config/os/generic/bits/atomicity.h: File not found
make[1]: *** [configure-target-libstdc++-v3] Error 1

Indeed, config/os/generic/bits/atomicity.h doesn't exist.

I haven't tested mainline, as this machine takes days to get to this
point of the build, but this file is missing in mainline too :-(

I suppose the case that matches aix* to define ATOMICITYH should be
made stricter so as to match only AIX 4.3 or newer, like the case that
sorts os_include_dir does?

Ok to install?

Index: libstdc++-v3/ChangeLog
from  Alexandre Oliva  <aoliva@redhat.com>

	* configure.target (ATOMICITYH): Don't use AIX 4.3-specific code
	on earlier versions of AIX.

Index: libstdc++-v3/configure.target
===================================================================
RCS file: /cvs/gcc/egcs/libstdc++-v3/configure.target,v
retrieving revision 1.19
diff -u -p -r1.19 configure.target
--- libstdc++-v3/configure.target 2001/05/13 22:17:11 1.19
+++ libstdc++-v3/configure.target 2001/05/17 22:22:04
@@ -105,7 +105,7 @@ esac
 # THIS TABLE IS SORTED.  KEEP IT THAT WAY.
 
 case "${target}" in
-   *-*-aix*)
+   *-*-aix4.[3456789]* | *-*-aix[56789]*)
      ATOMICITYH=$os_include_dir
      ;;
    *-*-irix*)

-- 
Alexandre Oliva   Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer                  aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicamp        oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist    *Please* write to mailing lists, not to me

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