AIX 4.1 and 7.1RC2
AIX 4.1 and 7.1RC2
От:
Rocco Altier <roccoa@routescape.com>
Дата:
To get 7.1RC2 to compile and pass the regression tests on AIX 4.1 I had to make the following changes. 1) Makefile.global had the host_os and host_tuple full specified, but the Makefile.port was expecting just aix4.1 instead of aix4.1.5.0 It looks like config/config.guess is using oslevel if it exists (which returns 4.1.5.0), but otherwise will default to what uname gives (AIX apdev 1 4 006103684C00). Not sure how to fix this permanently. 2) Makefile.shlib was missing the $LDFLAGS_SL to properly build shared libraries before AIX 4.2. In Makefile.port its not defined, so should have no affect on AIX 4.2 and later. Patch follows. Thanks, -rocco *** Makefile.shlib.ORIG Mon Apr 2 12:58:28 2001 --- Makefile.shlib Mon Apr 2 12:59:33 2001 *************** *** 291,297 **** # AIX case $(shlib): lib$(NAME).a $(MKLDEXPORT) lib$(NAME).a > lib$(NAME)$(EXPSUFF) ! $(COMPILER) -Wl,-H512 -Wl,-bM:SRE -Wl,-bI:$(top_builddir)/src/backend/$(POSTGRES_IMP) -Wl,-bE:lib$(NAME)$(EXPSUFF) -o $@ $< $(LDFLAGS) $(SHLIB_LINK) endif # PORTNAME == aix --- 291,297 ---- # AIX case $(shlib): lib$(NAME).a $(MKLDEXPORT) lib$(NAME).a > lib$(NAME)$(EXPSUFF) ! $(COMPILER) -Wl,-H512 -Wl,-bM:SRE -Wl,-bI:$(top_builddir)/src/backend/$(POSTGRES_IMP) -Wl,-bE:lib$(NAME)$(EXPSUFF) -o $@ $< $(LDFLAGS) $(SHLIB_LINK) -Wl,$(LDFLAGS_SL) endif # PORTNAME == aix
Re: AIX 4.1 and 7.1RC2
Rocco Altier writes: > To get 7.1RC2 to compile and pass the regression tests on AIX 4.1 I had to > make the following changes. > > 1) Makefile.global had the host_os and host_tuple full specified, but the > Makefile.port was expecting just aix4.1 instead of aix4.1.5.0 Try attached patch. -- Peter Eisentraut peter_e@gmx.net http://yi.org/peter-e/
Re: AIX 4.1 and 7.1RC2
От:
Rocco Altier <roccoa@routescape.com>
Дата:
Passed all regression tests with patch applied. Thanks! -rocco On Wed, 4 Apr 2001, Peter Eisentraut wrote: > Rocco Altier writes: > > > To get 7.1RC2 to compile and pass the regression tests on AIX 4.1 I had to > > make the following changes. > > > > 1) Makefile.global had the host_os and host_tuple full specified, but the > > Makefile.port was expecting just aix4.1 instead of aix4.1.5.0 > > Try attached patch. > > -- > Peter Eisentraut peter_e@gmx.net http://yi.org/peter-e/ > >