[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Obscure build failure of PostgreSQL

Hi 68k and ia64 porters!

This afternoon I uploaded postgresql 7.4.2-5. Its build failed on ia64
and m68k with:

---------------- snip ---------------------
m68k-linux-gcc -DCHECK_RLIMIT_NOFILE -fno-strict-aliasing -g -Wall -Wmissing-prototypes -Wmissing-declarations -pipe -I../../../../src/include -D_GNU_SOURCE  -I/usr/include/tcl8.4  -c -o xlog.o xlog.c
../../../../src/include/storage/s_lock.h: In function `tas':
../../../../src/include/storage/s_lock.h:292: error: inconsistent operand constraints in an `asm'
---------------- snip ---------------------

The full logs are on [1] and [2].

This somewhat confuses me, since previous revisions of 7.4.2 built
without problems on both architectures and in addition this very
version already built correctly on seven other archs (plus my own,
i386). I did not change any upstream code that involves this file (in
fact I only made a small bugfix in src/backend/libpq/hba.c, which did
not touch any include file).

Also, above error message is not very helpful: line 292 of s_lock.h
is in a block that should only be processed on powerpc. I put this
file on [3] if it helps you.

ia64 and e. g. powerpc use exactly the same compiler version

Do you have any idea about that?

Thanks in advance for any help!


[1] http://buildd.debian.org/fetch.php?&pkg=postgresql&ver=7.4.2-5&arch=m68k&stamp=1085672684&file=log&as=raw
[2] http://buildd.debian.org/fetch.php?&pkg=postgresql&ver=7.4.2-5&arch=ia64&stamp=1085666097&file=log&as=raw
[3] http://www.piware.de/s_lock.h

Martin Pitt                 Debian GNU/Linux Developer
martin@piware.de                      mpitt@debian.org
http://www.piware.de             http://www.debian.org

Attachment: signature.asc
Description: Digital signature

Reply to: