Hello Tom,
Thanks for your reply, as i'm not positon to upgrade gcc, i tried to build
using CC=cc
it compile fine.
while testing, as follows error came(initdb failed)
#adduser postgres
#mkdir /opt/postgresql/data
#chown postgres /opt/postgresql/data
#su - postgres
$/opt/postgresql/bin/initdb -D /opt/postgresql/data
The files belonging to this database system will be owned by user
"postgres".
This user must also own the server process.
The database cluster will be initialized with locale C.
Fixing permissions on existing directory /opt/postgresql/data... ok
creating directory /opt/postgresql/data/base... ok
creating directory /opt/postgresql/data/global... ok
creating directory /opt/postgresql/data/pg_xlog... ok
creating directory /opt/postgresql/data/pg_clog... ok
creating template1 database in /opt/postgresql/data/base/1...
initdb failed.
$
How to overcome? I don't know what may cause this problem.
Plz help me asap.
Advance thanks.
Regards,
-Kanchana
> "kanchana" <pkkanchana@gmx.net> writes:
> >
gcc -O2 -Wall -Wmissing-prototypes -Wmissing-declarations -I../../../../src/
> > include -I/home/saratha/krb5/include -I/usr/local/ssl/include -c -o
float.o
> > float.c
> > float.c: In function `float4out':
> > float.c:233: Internal compiler error in emit_move_insn, at expr.c:2739
> > Please submit a full bug report,
> > with preprocessed source if appropriate.
> > See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.
>
> Please observe that gcc's failure message tells you to report it to the
> gcc project. This is not Postgres' problem.
>
> regards, tom lane
>