Re: [HACKERS] postgesql-9.0.4 compile on AIX 6.1 using gcc 4.4.6
On 11-08-30 07:58 AM, Weiss, Wilfried wrote: Hello, I am just trying to compile postgresql-9.0.4 on AIX 6100-06-03-1048 using gcc 4.4.6. Unfortunately that was not all. There was also: "[Bug target/46072] AIX linker chokes on debug info for uninitialized static variables" This is an IBM bug in AIX's assembler (as) which causes corrupt object code that is crashing when trying to execute it. As far as I know IBM still not delived a fix for this. It seems that they are not interested in this as IBM's xlc is not using the assembler to create object code. Does any one know whether there is an alternate way to compile postgresql on AIX 6.1 using gcc??? I appreciate even the smallest hint! I have compiled 9.0.4 on AIX 5.3 with GCC 4.1.1 without any issues. (well the regression tests hit an issue on REL9_0_STABLE builds that they don't hit with more recent branches but that is due to a makefile related issue that I should post about in a different thread. The buildfarm member grebe (http://buildfarm.postgresql.org/cgi-bin/show_history.pl?nm=grebe&br=HEAD) does this. I do not have access to a AIX 6.1 machine Regards WW http://www.pilkington.com/nsg/disclaimer.htm
Re: [HACKERS] postgesql-9.0.4 compile on AIX 6.1 using gcc 4.4.6
Wilfried Weiss wrote: > I am just trying to compile postgresql-9.0.4 on AIX 6100-06-03-1048 using gcc 4.4.6. > There was also: > > "[Bug target/46072] AIX linker chokes on debug info for uninitialized static variables" > Does any one know whether there is an alternate way to compile postgresql on AIX 6.1 using gcc??? > > I appreciate even the smallest hint! I don't have any AIX boxes to play with any more, I guess (after reading the bug description) that it should work if you compile without generating debug info (-g). Yours, Laurenz Albe -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers
[HACKERS] postgesql-9.0.4 compile on AIX 6.1 using gcc 4.4.6
Hello, I am just trying to compile postgresql-9.0.4 on AIX 6100-06-03-1048 using gcc 4.4.6. Since many years I did this successfully on other versions of AIX using xlc. However my version 9 of xlc is no longer running on AIX 6.1 and no one is willing to sponsor a new version of xlc. So I started trying to compile postgresql with gcc 4.4.6. The installation of gcc was a nightmare. There were unresolved dependencies that needed to be ignored with parameter nodeps when installing by rpm!? Unfortunately that was not all. There was also: "[Bug target/46072] AIX linker chokes on debug info for uninitialized static variables" This is an IBM bug in AIX's assembler (as) which causes corrupt object code that is crashing when trying to execute it. As far as I know IBM still not delived a fix for this. It seems that they are not interested in this as IBM's xlc is not using the assembler to create object code. Does any one know whether there is an alternate way to compile postgresql on AIX 6.1 using gcc??? I appreciate even the smallest hint! Regards WW http://www.pilkington.com/nsg/disclaimer.htm