[PATCH] Version info mixes up host and target platform when cross-compiling

From: Marti Raudsepp <marti(at)juffo(dot)org>
To: pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: [PATCH] Version info mixes up host and target platform when cross-compiling
Date: 2013-03-17 13:17:30
Message-ID: CABRT9RBOix44Mt2B8Mvo=tY3w7AYjNkJ+dwE8xoJ12o+J9tqCw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

I tried running PostgreSQL on the ARM64 (aka AArch64) emulator and
noticed that the version() string mixes up the host and target
architecture.

Before:
PostgreSQL 9.3devel on x86_64-pc-linux-gnu, compiled by
aarch64-linux-gnu-gcc-4.7 (Ubuntu/Linaro 4.7.2-21ubuntu3) 4.7.2, 64-bit

Now:
PostgreSQL 9.3devel on aarch64-linux-gnu-gcc-4.7 (Ubuntu/Linaro
4.7.2-21ubuntu3) 4.7.2, compiled by x86_64-pc-linux-gnu, 64-bit

In other news, I can confirm that PostgreSQL git HEAD works and passes
all tests on AArch64 on Ubuntu Raring. The tests took 52 minutes to
run in the emulator, but I got there. :)

Obviously native spinlock code is still missing. There are no shipping
processors yet so we have some time.

Regards,
Marti

Attachment Content-Type Size
0001-Version-info-mixes-up-host-and-target-platform-when-.patch application/octet-stream 1.6 KB

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Marti Raudsepp 2013-03-17 13:38:37 Re: [PATCH] Version info mixes up host and target platform when cross-compiling
Previous Message Michael Paquier 2013-03-17 12:24:16 Re: Support for REINDEX CONCURRENTLY