Bug #56928 Mysql5.5.6 on Linux x64 compile x86 binary realase error
| Submitted: | 22 Sep 2010 12:08 | Modified: | 29 Oct 2010 10:20 |
|---|---|---|---|
| Reporter: | li mohao | Email Updates: | |
| Status: | No Feedback | Impact on me: | |
| Category: | MySQL Server: Compiling | Severity: | S4 (Feature request) |
| Version: | Mysql5.5.6 | OS: | Linux |
| Assigned to: | CPU Architecture: | Any |
[22 Sep 2010 12:08]
li mohao
[22 Sep 2010 12:13]
li mohao
OS is linux
[22 Sep 2010 12:37]
Joerg Bruehe
Effectively, you are doing a cross build: On a 64 bit system, you want to create 32 bit binaries. The MySQL build setup is not fully prepared for that, especially when using autotools. (With cmake, things are said to look better.) Is there some compelling reason for doing these cross builds? You could avoid doing cross builds by having a 32 bit virtual machine running on your 64 bit host, and then doing the 32 bit build in that VM. Looking at the sources, the technical problem seems to be that your build environment does support "long long" with a size > 4 (a 64 bit integer type), but has "off_t" with size 4 (32 bit). This causes "my_off_t" to have a different size than "ulonglong", which finally leads to the conflict. Fixing that is probably not very high on our priority list, nor are cross builds using the autotools. So if you really want to build 32 bit binaries on the 64 bit machine, you might try cmake; in any case, it should work well in a 32 bit VM.
[29 Oct 2010 23:00]
Bugs System
No feedback was provided for this bug for over a month, so it is being suspended automatically. If you are able to provide the information that was originally requested, please do so and change the status of the bug back to "Open".
Portions of this website are copyright © 2001, 2002 The PHP Group
Page generated in 0.042 sec. using MySQL 8.4.7-u6-cloud
Timestamp references displayed by the system are UTC.
Content reproduced on this site is the property of the
respective copyright holders.
It is not reviewed in advance
by Oracle and does not necessarily represent the opinion of
Oracle or any other party.