Patch applied. Thanks.
---
Zeugswetter Andreas SB SD wrote:
>
> > > > > and mb conversions (pg_ascii2mic and pg_mic2ascii not
> > > > > found in the postmaster and not included from elsewhere)
> > >
> > > shared libs on
te:
>
> > Date: Tue, 1 Oct 2002 10:23:13 +0200
> > From: Zeugswetter Andreas SB SD <[EMAIL PROTECTED]>
> > To: Peter Eisentraut <[EMAIL PROTECTED]>
> > Cc: PostgreSQL Development <[EMAIL PROTECTED]>
> > Subject: Re: AIX compilation problems (was Re: [H
: PostgreSQL Development <[EMAIL PROTECTED]>
> Subject: Re: AIX compilation problems (was Re: [HACKERS] Proposal ...)
>
>
> > > Attached is a patch to fix the mb linking problems on AIX. As a nice side effect
> > > it reduces the duplicate symbol warnings to linki
Your patch has been added to the PostgreSQL unapplied patches list at:
http://candle.pha.pa.us/cgi-bin/pgpatches
I will try to apply it within the next 48 hours.
---
Zeugswetter Andreas SB SD wrote:
>
> > > > >
, 1 Oct 2002, Zeugswetter
> Andreas SB SD wrote:
>
> > Date: Tue, 1 Oct 2002 10:23:13 +0200
> > From: Zeugswetter Andreas SB SD <[EMAIL PROTECTED]>
> > To: Peter Eisentraut <[EMAIL PROTECTED]>
> > Cc: PostgreSQL Development <[EMAIL PROTECTED]>
EMAIL PROTECTED]>
> Subject: Re: AIX compilation problems (was Re: [HACKERS] Proposal ...)
>
>
> > > Attached is a patch to fix the mb linking problems on AIX. As a nice side effect
> > > it reduces the duplicate symbol warnings to linking libpq.so and libecpg.so
&
> > > Attached is a patch to fix the mb linking problems on AIX. As a nice side effect
> > > it reduces the duplicate symbol warnings to linking libpq.so and libecpg.so
> > > (all shlibs that are not postmaster loadable modules).
> >
> > Can you explain the method behind your patch? Have you tr
> > Attached is a patch to fix the mb linking problems on AIX. As a nice side effect
> > it reduces the duplicate symbol warnings to linking libpq.so and libecpg.so
> > (all shlibs that are not postmaster loadable modules).
>
> Can you explain the method behind your patch? Have you tried -bnogc
Zeugswetter Andreas SB SD writes:
> Attached is a patch to fix the mb linking problems on AIX. As a nice side effect
> it reduces the duplicate symbol warnings to linking libpq.so and libecpg.so
> (all shlibs that are not postmaster loadable modules).
Can you explain the method behind your patch
> > > > and mb conversions (pg_ascii2mic and pg_mic2ascii not
> > > > found in the postmaster and not included from elsewhere)
> >
> > shared libs on AIX need to be able to resolve all symbols at linkage time.
> > Those two symbols are in backend/utils/SUBSYS.o but not in the postgres
> > executa
Zeugswetter Andreas SB SD writes:
> -brtl , but that does a lot more that we don't want and does not work :-(
I think -bnogc is the switch you want.
--
Peter Eisentraut [EMAIL PROTECTED]
---(end of broadcast)---
TIP 4: Don't 'kill -9' the pos
Zeugswetter Andreas SB SD writes:
> The problem is, that scan.c includes unistd.h before postgres.h
> and thus unistd.h defines _LARGE_FILE_API which is not allowed
> together with _LARGE_FILES. Do you know an answer ?
Actually, a better idea I just had is to include scan.c at the end of
gram.c
Zeugswetter Andreas SB SD writes:
> The problem is, that scan.c includes unistd.h before postgres.h
> and thus unistd.h defines _LARGE_FILE_API which is not allowed
> together with _LARGE_FILES. Do you know an answer ?
> Offhand I can only think of using -D_LARGE_FILES as a compiler flag :-(
Tha
> > Further research prooved, that the AIX linker eliminates functions on a per
> > c file basis if none of them is referenced elsewhere (declared extern or not).
> > Thus it eliminates the whole conv.c file from the postgres executable since
> > those functions are only used by the conversion s
"Zeugswetter Andreas SB SD" <[EMAIL PROTECTED]> writes:
> Further research prooved, that the AIX linker eliminates functions on a per
> c file basis if none of them is referenced elsewhere (declared extern or not).
> Thus it eliminates the whole conv.c file from the postgres executable since
> th
> > shared libs on AIX need to be able to resolve all symbols at linkage time.
> > Those two symbols are in backend/utils/SUBSYS.o but not in the postgres
> > executable.
> > My guess is, that they are eliminated by the linker ? Do they need an extern
> > declaration ?
Further research prooved,
> > configure somehow thinks it needs to #define _LARGE_FILES though, which
> > then clashes with pg_config.h's _LARGE_FILES. I think the test needs to
> > #include unistd.h .
>
> _LARGE_FILES is defined because it's necessary to make off_t 64 bits. If
> you disagree, please post compiler outpu
Zeugswetter Andreas SB SD writes:
> configure somehow thinks it needs to #define _LARGE_FILES though, which
> then clashes with pg_config.h's _LARGE_FILES. I think the test needs to
> #include unistd.h .
_LARGE_FILES is defined because it's necessary to make off_t 64 bits. If
you disagree, plea
> > PS: pg snapshot 09/11 does not compile on AIX (large files (don't want
> > _LARGE_FILES),
>
> Please provide details.
On AIX we would only want to make the large file api visible (_LARGE_FILE_API)
which automatically gets defined when xlc is used with -qlonglong.
#ifdef _LARGE_FILE_API
ext
Zeugswetter Andreas SB SD writes:
> PS: pg snapshot 09/11 does not compile on AIX (large files (don't want
> _LARGE_FILES),
Please provide details.
> and mb conversions (pg_ascii2mic and pg_mic2ascii not
> found in the postmaster and not included from elsewhere)
And details here as well.
--
20 matches
Mail list logo