| Bug #41455 | Compile error on OpenSolaris 2008.11 | ||
|---|---|---|---|
| Submitted: | 14 Dec 2008 19:15 | Modified: | 3 Jul 2009 14:13 |
| Reporter: | Miguel Solorzano | Email Updates: | |
| Status: | Unsupported | Impact on me: | |
| Category: | MySQL Server: Compiling | Severity: | S3 (Non-critical) |
| Version: | 6.0 bzr | OS: | Solaris (OpenSolaris 2008.11 32-bit, solaris 10) |
| Assigned to: | CPU Architecture: | Any | |
[28 Dec 2008 5:53]
Kent Boortz
The work around is *not* to specify --enable-assembler to configure, as it will produce code not accepted to be position independent by the linker on OpenSolaris. See http://docsun.cites.uiuc.edu/sun_docs/C/solaris_9/SUNWdev/LLM/p24.html
[3 Jul 2009 14:13]
Daniel Fischer
Script is not supported. Bug will eventually go away due to us restructuring these scripts.

Description: The below compile error happens when compiling on OpenSolaris 2008.11 (not tested on other OSs): against symbol offset in file strstr 0x165 ../strings/.libs/libmystringslt.a(strings-x86.o) ld: fatal: relocations remain against allocatable but non-writable sections collect2: ld returned 1 exit status gmake[2]: *** [libmysqlclient.la] Error 1 gmake[2]: Leaving directory `/export/home/miguel/bzr/mysql-6.0-build/libmysql' gmake[1]: *** [all] Error 2 gmake[1]: Leaving directory `/export/home/miguel/bzr/mysql-6.0-build/libmysql' gmake: *** [all-recursive] Error 1 miguel@skybr:~/bzr/mysql-6.0-build$ Source trees 5.1 and 5.0 compile without problems. How to repeat: Compile latest 6.0 source on OpenSolaris. Suggested fix: -