Bug 20124

Summary: gcc can't compile mysql on sparc
Product: [Retired] Red Hat Raw Hide Reporter: Trond Eivind Glomsrxd <teg>
Component: mysqlAssignee: Patrick Macdonald <patrickm>
Status: CLOSED RAWHIDE QA Contact: David Lawrence <dkl>
Severity: medium Docs Contact:
Priority: medium    
Version: 1.0   
Target Milestone: ---   
Target Release: ---   
Hardware: sparc   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2000-10-31 21:40:46 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 Trond Eivind Glomsrxd 2000-10-31 21:40:21 UTC
gcc-2.96-62 can't compile mysql on SPARC, even with -O0 (and hasn't been
able to since egcs) - it boms out in the hash-generating part:

[sparc] c++ -O3 -DDBUG_OFF -O0 -fno-implicit-templates -rdynamic -o
gen_lex_hash gen_lex_hash.o ../isam/libnisam.a ../merge/libmerge.a
../myisam/libmyisam.a ../myisammrg/libmyisammrg.a ../heap/libheap.a
../mysys/libmysys.a ../dbug/libdbug.a ../regex/libregex.a
../strings/libmystrings.a -ldl -lnsl -lm -lz -lcrypt -lpthread
[sparc] make[4]: Leaving directory
`/usr/src/bs/BUILD/mysql-3.23.27-beta/sql'
[sparc] ./gen_lex_hash > lex_hash.h
[sparc] make[3]: [sparc] make[3]: Leaving directory
`/usr/src/bs/BUILD/mysql-3.23.27-beta/sql'
[sparc] make[2]: Leaving directory
`/usr/src/bs/BUILD/mysql-3.23.27-beta/sql'
[sparc] make[1]: Leaving directory `/usr/src/bs/BUILD/mysql-3.23.27-beta'
[sparc] *** [lex_hash.h] Error 138
[sparc] make[2]: *** [all-recursive] Error 1

Comment 1 Jakub Jelinek 2000-11-01 10:00:13 UTC
MySQL fault, should be fixed in mysql-3.23.27-2.