Bug 73050

Summary: mysql-4.0.3-beta will not compile
Product: [Retired] Red Hat Linux Reporter: Need Real Name <otrcomm>
Component: gccAssignee: Jakub Jelinek <jakub>
Status: CLOSED CURRENTRELEASE QA Contact: David Lawrence <dkl>
Severity: medium Docs Contact:
Priority: medium    
Version: 7.2   
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2004-10-05 23:21:27 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Need Real Name 2002-08-30 05:21:59 UTC
Description of Problem:

When I try to compile mysql-4.0.3-beta, I get a 'Segmentation fault'

Code snippet from compilation failure:

make[4]: Entering directory `/usr/local/src/mysql/mysql-4.0.3-beta/innobase/trx'
gcc -DHAVE_CONFIG_H -I. -I../.././innobase/trx -I.. 
-I../.././innobase/trx/../include -I../.././innobase/trx/../../include 
-I../../include    -DDBUG_OFF -O3 -DDBUG_OFF    -DDEBUG_OFF -DUNIV_INTEL_X86 -c 
trx0purge.c
trx0purge.c: In function `trx_purge_truncate_rseg_history':
trx0purge.c:512: Internal error: Segmentation fault.
Please submit a full bug report.
See <URL:http://bugzilla.redhat.com/bugzilla/> for instructions.
make[4]: *** [trx0purge.o] Error 1
make[4]: Leaving directory `/usr/local/src/mysql/mysql-4.0.3-beta/innobase/trx'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/usr/local/src/mysql/mysql-4.0.3-beta/innobase'
make[2]: *** [all-recursive-am] Error 2
make[2]: Leaving directory `/usr/local/src/mysql/mysql-4.0.3-beta/innobase'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/src/mysql/mysql-4.0.3-beta'
make: *** [all-recursive-am] Error 2

Version-Release number of selected component (if applicable):

Source code for
mysql-4.0.3-beta.tar.gz

How Reproducible:

Every time!

Steps to Reproduce:
1. Download mysql-4.0.3-beta.tar.gz
2. Extract source modules
3. Attempt to compile

Fails every time!

Actual Results:


Expected Results:


Additional Information:

Comment 1 Trond Eivind Glomsrxd 2002-09-03 15:04:59 UTC
Not a mysql bug... reassigning. You have all the latest upgrades installed?

Comment 2 Need Real Name 2002-09-03 15:54:14 UTC
What 'upgrades' do you have in mind?  Do you have any specific upgrades that I 
should install to get mysql to compile, or is this just a general question?

Initially I went the 'Server' install route and did not install any of the 
X-Windows components.  Then I installed mysql-3.23.39 from a tarball.  This 
installed fine.  When I went to upgrade to mysql-4.0.3-beta did the problem 
occur.

Normally I do not upgrade with rpms, but if you know of some that will allow me 
to get mysql-4.0.3-beta installed, let me know.

Thank you!

Comment 3 Richard Henderson 2004-10-05 23:21:27 UTC
mysql-4.0.21 builds with gcc 3.2.