pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
BUG #8387: Error while make of the source code
5+ messages / 5 participants
[nested] [flat]

* BUG #8387: Error while make of the source code
@ 2013-08-19 10:33 NITISHSAURABH@GMAIL.COM
  2013-08-19 15:04 ` Re: BUG #8387: Error while make of the source code Heikki Linnakangas <hlinnakangas@vmware.com>
  2013-08-19 15:16 ` Re: BUG #8387: Error while make of the source code Andrew Hastie <andrew@ahastie.net>
  0 siblings, 2 replies; 5+ messages in thread

From: NITISHSAURABH@GMAIL.COM @ 2013-08-19 10:33 UTC (permalink / raw)
  To: pgsql-bugs

The following bug has been logged on the website:

Bug reference:      8387
Logged by:          Nitish
Email address:      NITISHSAURABH@GMAIL.COM
PostgreSQL version: 9.2.4
Operating system:   AIX7.1
Description:        

Gives Error while compiling (configure goes well but while running make it
gives error) the source code as shown below. Is there any compatibility
issue between PostgreSQl 9.2.4 and AIX7.1 ?


/tmp//ccIZry3K.s: line 23872: 1252-142 Syntax error.
/tmp//ccIZry3K.s: line 23873: 1252-142 Syntax error.
/tmp//ccIZry3K.s: line 23876: 1252-142 Syntax error.
gmake[4]: *** [xlog.o] Error 1
gmake[4]: Leaving directory
`/usr/src/postgresql-9.2.4/src/backend/access/transam'
gmake[3]: *** [transam-recursive] Error 2
gmake[3]: Leaving directory `/usr/src/postgresql-9.2.4/src/backend/access'
gmake[2]: *** [access-recursive] Error 2
gmake[2]: Leaving directory `/usr/src/postgresql-9.2.4/src/backend'
gmake[1]: *** [all-backend-recurse] Error 2
gmake[1]: Leaving directory `/usr/src/postgresql-9.2.4/src'
gmake: *** [all-src-recurse] Error 2
make: 1254-004 The error code from the last command is 2.




Stop.



-- 
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs



^ permalink  raw  reply  [nested|flat] 5+ messages in thread

* Re: BUG #8387: Error while make of the source code
  2013-08-19 10:33 BUG #8387: Error while make of the source code NITISHSAURABH@GMAIL.COM
@ 2013-08-19 15:04 ` Heikki Linnakangas <hlinnakangas@vmware.com>
  2013-08-19 15:24   ` Re: BUG #8387: Error while make of the source code Tom Lane <tgl@sss.pgh.pa.us>
  1 sibling, 1 reply; 5+ messages in thread

From: Heikki Linnakangas @ 2013-08-19 15:04 UTC (permalink / raw)
  To: NITISHSAURABH@GMAIL.COM; +Cc: pgsql-bugs

On 19.08.2013 13:33, NITISHSAURABH@GMAIL.COM wrote:
> The following bug has been logged on the website:
>
> Bug reference:      8387
> Logged by:          Nitish
> Email address:      NITISHSAURABH@GMAIL.COM
> PostgreSQL version: 9.2.4
> Operating system:   AIX7.1
> Description:
>
> Gives Error while compiling (configure goes well but while running make it
> gives error) the source code as shown below. Is there any compatibility
> issue between PostgreSQl 9.2.4 and AIX7.1 ?

Not that I'm aware of. Then again, there is no AIX 7.1 box in the 
buildfarm, the closes thing is "grebe" running AIX 5.3 (see 
http://buildfarm.postgresql.org/cgi-bin/show_status.pl).

- Heikki


-- 
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs



^ permalink  raw  reply  [nested|flat] 5+ messages in thread

* Re: BUG #8387: Error while make of the source code
  2013-08-19 10:33 BUG #8387: Error while make of the source code NITISHSAURABH@GMAIL.COM
  2013-08-19 15:04 ` Re: BUG #8387: Error while make of the source code Heikki Linnakangas <hlinnakangas@vmware.com>
@ 2013-08-19 15:24   ` Tom Lane <tgl@sss.pgh.pa.us>
  0 siblings, 0 replies; 5+ messages in thread

From: Tom Lane @ 2013-08-19 15:24 UTC (permalink / raw)
  To: Heikki Linnakangas <hlinnakangas@vmware.com>; +Cc: NITISHSAURABH@GMAIL.COM; pgsql-bugs

Heikki Linnakangas <hlinnakangas@vmware.com> writes:
> On 19.08.2013 13:33, NITISHSAURABH@GMAIL.COM wrote:
>> Gives Error while compiling (configure goes well but while running make it
>> gives error) the source code as shown below. Is there any compatibility
>> issue between PostgreSQl 9.2.4 and AIX7.1 ?

> Not that I'm aware of. Then again, there is no AIX 7.1 box in the 
> buildfarm, the closes thing is "grebe" running AIX 5.3 (see 
> http://buildfarm.postgresql.org/cgi-bin/show_status.pl).

I'm wondering if the OP's configuration doesn't support LWARX mutex hints
(see the comment for USE_PPC_LWARX_MUTEX_HINT in pg_config_manual.h).
We do have a configure-time check for that, but maybe it's not working
for him?

Without any info as to the compiler or assembler in use, nor a look at the
failing bits of assembly code, we're just guessing.

			regards, tom lane


-- 
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs



^ permalink  raw  reply  [nested|flat] 5+ messages in thread

* Re: BUG #8387: Error while make of the source code
  2013-08-19 10:33 BUG #8387: Error while make of the source code NITISHSAURABH@GMAIL.COM
@ 2013-08-19 15:16 ` Andrew Hastie <andrew@ahastie.net>
  2013-08-20 08:16   ` Re: BUG #8387: Error while make of the source code nitishsaurabh <NITISHSAURABH@GMAIL.COM>
  1 sibling, 1 reply; 5+ messages in thread

From: Andrew Hastie @ 2013-08-19 15:16 UTC (permalink / raw)
  To: pgsql-bugs

What compiler are you using? If it helps, some time ago I built PG 
v9.2.2 using the IBM xlc compiler at version 12 successfully. From my 
notes I used the following compiler configuration:-

./configure CC=xlc LIBS="-lssl -lcrypto -lz -lreadline -lcurses -lld 
-lmass -lm" CFLAGS="-qlanglvl=extc89" --with-template=aix 
--prefix=/home/ahastie/pgbuild 
--with-includes=/opt/freeware/include:/home/ahastie/gnu/zlib-1.2.7:/home/ahastie/gnu/readline-6.2 
--with-libraries=/opt/freeware/lib

(Note: For various reasons I used my own downloads of zlib and readline 
for the build.)

Hope the above helps.


On 19/08/13 11:33, NITISHSAURABH@GMAIL.COM wrote:
> The following bug has been logged on the website:
>
> Bug reference:      8387
> Logged by:          Nitish
> Email address:      NITISHSAURABH@GMAIL.COM
> PostgreSQL version: 9.2.4
> Operating system:   AIX7.1
> Description:
>
> Gives Error while compiling (configure goes well but while running make it
> gives error) the source code as shown below. Is there any compatibility
> issue between PostgreSQl 9.2.4 and AIX7.1 ?
>
>
> /tmp//ccIZry3K.s: line 23872: 1252-142 Syntax error.
> /tmp//ccIZry3K.s: line 23873: 1252-142 Syntax error.
> /tmp//ccIZry3K.s: line 23876: 1252-142 Syntax error.
> gmake[4]: *** [xlog.o] Error 1
> gmake[4]: Leaving directory
> `/usr/src/postgresql-9.2.4/src/backend/access/transam'
> gmake[3]: *** [transam-recursive] Error 2
> gmake[3]: Leaving directory `/usr/src/postgresql-9.2.4/src/backend/access'
> gmake[2]: *** [access-recursive] Error 2
> gmake[2]: Leaving directory `/usr/src/postgresql-9.2.4/src/backend'
> gmake[1]: *** [all-backend-recurse] Error 2
> gmake[1]: Leaving directory `/usr/src/postgresql-9.2.4/src'
> gmake: *** [all-src-recurse] Error 2
> make: 1254-004 The error code from the last command is 2.
>
>
>
>
> Stop.
>
>
>


-- 
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs



^ permalink  raw  reply  [nested|flat] 5+ messages in thread

* Re: BUG #8387: Error while make of the source code
  2013-08-19 10:33 BUG #8387: Error while make of the source code NITISHSAURABH@GMAIL.COM
  2013-08-19 15:16 ` Re: BUG #8387: Error while make of the source code Andrew Hastie <andrew@ahastie.net>
@ 2013-08-20 08:16   ` nitishsaurabh <NITISHSAURABH@GMAIL.COM>
  0 siblings, 0 replies; 5+ messages in thread

From: nitishsaurabh @ 2013-08-20 08:16 UTC (permalink / raw)
  To: pgsql-bugs

I am using gcc compiler,readline is already installed. Is there any rpm
available for AIX7.1? 



--
View this message in context: http://postgresql.1045698.n5.nabble.com/BUG-8387-Error-while-make-of-the-source-code-tp5767841p57680...
Sent from the PostgreSQL - bugs mailing list archive at Nabble.com.


-- 
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs



^ permalink  raw  reply  [nested|flat] 5+ messages in thread


end of thread, other threads:[~2013-08-20 08:16 UTC | newest]

Thread overview: 5+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2013-08-19 10:33 BUG #8387: Error while make of the source code NITISHSAURABH@GMAIL.COM
2013-08-19 15:04 ` Heikki Linnakangas <hlinnakangas@vmware.com>
2013-08-19 15:24   ` Tom Lane <tgl@sss.pgh.pa.us>
2013-08-19 15:16 ` Andrew Hastie <andrew@ahastie.net>
2013-08-20 08:16   ` nitishsaurabh <NITISHSAURABH@GMAIL.COM>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox