[MDEV-3199] LP:729059 - 5.2.5 doesn't compile on FreeBSD 8.2 amd64 Created: 2011-03-04  Updated: 2015-02-02  Resolved: 2012-10-04

Status: Closed
Project: MariaDB Server
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Major
Reporter: Olivier - interfaSys (Inactive) Assignee: Michael Widenius
Resolution: Fixed Votes: 0
Labels: Launchpad

Attachments: XML File LPexportBug729059.xml    

 Description   

Here is the error we're seeing when trying to compile 5.2.5. No problem with 5.2.4.

if g++45 -DMYSQL_SERVER -DDEFAULT_MYSQL_HOME='"/usr/local"' -DMYSQL_DATADIR='"/usr/local/var"' -DSHAREDIR='"/usr/local/share/mysql"' -DPLUGINDIR='"/usr/local/lib/mysql/plugin"' -DHAVE_EVENT_SCHEDULER -DHAVE_CONFIG_H -I. -I. -I../include -I../include -I../include -I../regex -I. -O2 -pipe -mfpmath=sse -ftracer -ffast-math -fexcess-precision=fast -funroll-loops -O3 -floop-interchange -floop-strip-mine -floop-block -march=native -fno-strict-aliasing -fno-implicit-templates -fno-exceptions -fno-rtti -DMYSQLD_NET_RETRY_COUNT=1000000 -MT sql_select.o -MD -MP -MF ".deps/sql_select.Tpo" -c -o sql_select.o sql_select.cc; then mv -f ".deps/sql_select.Tpo" ".deps/sql_select.Po"; else rm -f ".deps/sql_select.Tpo"; exit 1; fi
mysqld.cc: In function 'void init_signals()':
mysqld.cc:2764:7: error: 'opt_stack_trace' was not declared in this scope
mysqld.cc: In function 'int get_options(int*, char**)':
mysqld.cc:9246:5: error: 'opt_stack_trace' was not declared in this scope

      • Error code 1
        1 error
      • Error code 1
        1 error
      • Error code 2
        1 error
      • Error code 1
        1 error

It failed even with these basic CFLAGS:
-O2 -pipe -mfpmath=sse -ftracer -fexcess-precision=fast -funroll-loops -march=native -fno-strict-aliasing



 Comments   
Comment by Rasmus Johansson (Inactive) [ 2011-03-20 ]

Re: 5.2.5 doesn't compile on FreeBSD 8.2 amd64
Seeing the same issue.

Works: MariaDB 5.2.4 & 5.1.53, MySQL 5.1.55
Doesn't: MariaDB 5.2.5 & 5.1.55

Comment by Sergei Golubchik [ 2011-03-21 ]

Re: 5.2.5 doesn't compile on FreeBSD 8.2 amd64
http://bazaar.launchpad.net/~maria-captains/maria/5.2/revision/2931

Comment by Olivier - interfaSys (Inactive) [ 2011-03-21 ]

Re: 5.2.5 doesn't compile on FreeBSD 8.2 amd64
The patch worked for me

Comment by Rasmus Johansson (Inactive) [ 2011-05-11 ]

Launchpad bug id: 729059

Generated at Thu Feb 08 06:46:59 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.