[CONC-133] Centos 6 32 bits: Release build error: my_context.c:454: Error: CFI instruction used without previous .cfi_startproc Created: 2015-06-16 Updated: 2018-09-04 Resolved: 2018-02-20 |
|
| Status: | Closed |
| Project: | MariaDB Connector/C |
| Component/s: | None |
| Affects Version/s: | 2.1 |
| Fix Version/s: | 2.3.6 |
| Type: | Bug | Priority: | Major |
| Reporter: | Thomas Riccardi | Assignee: | Georg Richter |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Environment: |
Centos 6.6 32 bits |
||
| Issue Links: |
|
||||||||||||
| Description |
|
cmake -DCMAKE_BUILD_TYPE=Release on Centos 6 32 bits:
With debug symbols it works: (It also works on 64 bits). This was also encountered by https://github.com/mscdex/node-mariasql/issues/18 |
| Comments |
| Comment by Georg Richter [ 2015-09-08 ] | ||||||||||||||||||
|
Can't repeat on CentOS6 i386.
| ||||||||||||||||||
| Comment by Thomas Riccardi [ 2015-09-08 ] | ||||||||||||||||||
|
I still reproduce the issue with Centos 6.7 i686:
| ||||||||||||||||||
| Comment by Thomas Riccardi [ 2015-09-08 ] | ||||||||||||||||||
|
I also tested with a vagrant box:
Result:
| ||||||||||||||||||
| Comment by Georg Richter [ 2017-05-22 ] | ||||||||||||||||||
|
This is a gcc bug when cross compiling with -m32. Upgrading to gcc 4.8.2 solves the problem. | ||||||||||||||||||
| Comment by Eric Curtin [ 2018-02-20 ] | ||||||||||||||||||
|
Ah, it's a gcc bug, good to know | ||||||||||||||||||
| Comment by Eric Curtin [ 2018-02-20 ] | ||||||||||||||||||
|
Pity RH don't provide compiler upgrades for gcc on i686, although they do on x86_64 | ||||||||||||||||||
| Comment by Eric Curtin [ 2018-02-20 ] | ||||||||||||||||||
|
This is not a cross compiling bug, happens when you compile on i686 centos 6 machine... This should be re-opened | ||||||||||||||||||
| Comment by Georg Richter [ 2018-02-20 ] | ||||||||||||||||||
|
The fix was not back ported to C/C 2.3: https://github.com/MariaDB/mariadb-connector-c/blob/master/libmariadb/CMakeLists.txt#L155 | ||||||||||||||||||
| Comment by Eric Curtin [ 2018-02-20 ] | ||||||||||||||||||
|
I see this in version 3.0.3 |