6.4 Build Error from CVS snapshot
6.4 Build Error from CVS snapshot
От:
Clark Evans <clark.evans@manhattanproject.com>
Дата:
I periodically re-fresh my local copies of both the current snapshot and the release snapshot from the CVS tree. Suprizingly, recently (last month or so?) a few files were changed in the REL_6_4 tree that caused it to fail to compile. Just to make sure that I wasn't being an idiot, I deleted my local copy and did a complete refresh using: cvs -z3 -d :pserver:anoncvs@postgresql.org:/usr/local/cvsroot \ co -r REL6_4 -P pgsql >> cvsinit.out 2>> cvsinit.out & Then I did a configure with no options, followed by make. Here is the tail of the compile log: ---------------------------------------------------------- lex.yy.c:820: warning: no previous prototype for `yylex' lex.yy.c: In function `yylex': lex.yy.c:822: warning: `yy_cp' might be used uninitialized in this function lex.yy.c:822: warning: `yy_bp' might be used uninitialized in this function scan.l: At top level: scan.l:426: warning: no previous prototype for `yyerror' lex.yy.c:2174: warning: `yy_flex_realloc' defined but not used gcc -I../../include -I../../backend -O2 -Wall -Wmissing-prototypes -I.. -Wno-error -c scansup.c -o scansup.o ld -r -o SUBSYS.o analyze.o gram.o keywords.o parser.o parse_agg.o parse_clause.o parse_expr.o parse_func.o parse_node.o parse_oper.o parse_relation.o parse_type.o parse_coerce.o parse_target.o scan.o scansup.o make[2]: Leaving directory `/usr/local/src/pgsql/RELEASE/src/backend/parser' make -C port all make[2]: Entering directory `/usr/local/src/pgsql/RELEASE/src/backend/port' gcc -I../../include -I../../backend -O2 -Wall -Wmissing-prototypes -I.. -c dynloader.c -o dynloader.o ld -r -o SUBSYS.o dynloader.o make[2]: Leaving directory `/usr/local/src/pgsql/RELEASE/src/backend/port' make -C postmaster all make[2]: Entering directory `/usr/local/src/pgsql/RELEASE/src/backend/postmaster' gcc -I../../include -I../../backend -O2 -Wall -Wmissing-prototypes -I.. -c postmaster.c -o postmaster.o postmaster.c: In function `initMasks': postmaster.c:802: Invalid `asm' statement: postmaster.c:802: fixed or forbidden register 2 (cx) was spilled for class CREG. make[2]: *** [postmaster.o] Error 1 make[2]: Leaving directory `/usr/local/src/pgsql/RELEASE/src/backend/postmaster' make[1]: *** [postmaster.dir] Error 2 make[1]: Leaving directory `/usr/local/src/pgsql/RELEASE/src/backend' make: *** [all] Error 2 ----------------------------------------------------------------------------- I'm using RH 5.2 stock on a Pentium Pro. BTW, is there any file that contains the current version number? This would be slick. Thanks! Clark clark.evans@manhattanproject.com
Re: [HACKERS] 6.4 Build Error from CVS snapshot
От:
Bruce Momjian <maillist@candle.pha.pa.us>
Дата:
> I'm using RH 5.2 stock on a Pentium Pro. > > BTW, is there any file that contains the current version number? > This would be slick. Yes. "SELECT pg_version();" supplies it. Also see src/tools/RELEASE_CHANGES for all the places. -- Bruce Momjian | http://www.op.net/~candle maillist@candle.pha.pa.us | (610) 853-3000 + If your life is a hard drive, | 830 Blythe Avenue + Christ can be your backup. | Drexel Hill, Pennsylvania 19026