BUG #5251: compilation fails in 32-bit mode

From: "Jyrki Wahlstedt" <jyrki(dot)wahlstedt(at)wahlstedt(dot)fi>
To: pgsql-bugs(at)postgresql(dot)org
Subject: BUG #5251: compilation fails in 32-bit mode
Date: 2009-12-20 13:12:36
Message-ID: 200912201312.nBKDCaw7012269@wwwmaster.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs


The following bug has been logged online:

Bug reference: 5251
Logged by: Jyrki Wahlstedt
Email address: jyrki(dot)wahlstedt(at)wahlstedt(dot)fi
PostgreSQL version: 8.4.2
Operating system: OS X 10.6.2
Description: compilation fails in 32-bit mode
Details:

Trying to make a universal build leads to following:
/usr/bin/gcc-4.2 -no-cpp-precomp -O2 -arch x86_64 -arch i386 -Wall
-Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement
-Wendif-labels -fno-strict-aliasing -fwrapv -I../../../../src/include
-I/opt/local/include -I/opt/local/include/ossp -I/opt/local/include/libxml2
-I/opt/local/include -c -o heaptuple.o heaptuple.c
heaptuple.c: In function 'heap_fill_tuple':
heaptuple.c:196: error: duplicate case value
heaptuple.c:196: error: previously used here
lipo: can't figure out the architecture type of: /var/tmp//ccrMKGuv.out

The background to this is that I'm a maintainer of PostgreSQL in MacPorts,
and need a universal build for another software. A similar problem has been
found earlier, see http://trac.macports.org/ticket/17090 for details.

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Robert Haas 2009-12-21 01:46:06 Re: BUG #5250: Tutorial examples(pre-compiled) not present with precompiled binary version of PostgreSQL.
Previous Message Tom Lane 2009-12-20 05:42:57 Re: BUG #5238: frequent signal 11 segfaults