Opened 5 years ago

Closed 5 years ago

Last modified 3 years ago

#42943 closed defect (fixed)

BUG: mysql56 isn't UsingTheRightCompiler

Reported by: MarcusCalhoun-Lopez (Marcus Calhoun-Lopez) Owned by: pixilla (Bradley Giesbrecht)
Priority: Normal Milestone:
Component: ports Version: 2.2.1
Keywords: haspatch Cc:
Port: mysql56

Description

mysql56 isn't UsingTheRightCompiler.
Apparently, clang was causing some sort of problem is 32-bit mode.
They decided to disallow clang in the file CMakeLists.txt with the comment

# Possibly temporary fix: Clang on 32 bit causes non-debug server to crash 

See http://bazaar.launchpad.net/~mysql/mysql-server/5.6/revision/4223.1.4

The commit message indicated a "Need to investigate further," but as of 3/19/2014, the "temporary fix" is still there (http://bazaar.launchpad.net/~mysql/mysql-server/5.7/view/head:/CMakeLists.txt)

Attached is a patch with possible solutions.

Attachments (2)

Portfile.diff (1.6 KB) - added by MarcusCalhoun-Lopez (Marcus Calhoun-Lopez) 5 years ago.
patch-CMakeLists.txt.diff (538 bytes) - added by MarcusCalhoun-Lopez (Marcus Calhoun-Lopez) 5 years ago.

Download all attachments as: .zip

Change History (4)

Changed 5 years ago by MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)

Attachment: Portfile.diff added

Changed 5 years ago by MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)

Attachment: patch-CMakeLists.txt.diff added

comment:1 Changed 5 years ago by pixilla (Bradley Giesbrecht)

Resolution: fixed
Status: newclosed

See r118041

Thanks mcalhoun.

comment:2 Changed 3 years ago by MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)

According to the upstream bug report, clang is no longer a problem on 32-bit systems.
See also r129000 and release news.
Forcing gcc in 32-bit mode no longer seems necessary, so removing in r145703.

Note: See TracTickets for help on using tickets.