Bug #20831 | Problem compiling --with-pstack | ||
---|---|---|---|
Submitted: | 3 Jul 2006 19:31 | Modified: | 25 Jul 2006 16:48 |
Reporter: | Pierre | Email Updates: | |
Status: | Duplicate | Impact on me: | |
Category: | MySQL Server: Compiling | Severity: | S3 (Non-critical) |
Version: | 5.1.12-BK, 5.1.11 | OS: | Linux (GNU/Linux) |
Assigned to: | Assigned Account | CPU Architecture: | Any |
[3 Jul 2006 19:31]
Pierre
[3 Jul 2006 21:32]
Hartmut Holzgraefe
Hi Pierre, what's the exact Linux version/distribution you are using? And coud you upload the config.log file generated by configure to the Files section of this bug?
[11 Jul 2006 0:38]
Pierre
I'm using LFS GNU/Linux kernel 2.6.17
[11 Jul 2006 0:41]
Pierre
config.log file
Attachment: config.log.gz (application/x-gzip, text), 39.06 KiB.
[14 Jul 2006 7:16]
Valeriy Kravchuk
Thank you for a problem report. I've got different errors with 5.1.12-BK (ChangeSet@1.2247, 2006-07-13 19:12:20+02:00) on SuSE Linux 9.3: make clean ./configure --prefix=/home/openxs/dbs/5.1 --with-pstack make ... make[3]: Entering directory `/home/openxs/work/mysql-5.1/pstack' if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../include -O3 -DDBUG_OFF -MT bucomm.o -MD -MP -MF ".deps/bucomm.Tpo" -c -o bucomm.o bucomm.c; \ then mv -f ".deps/bucomm.Tpo" ".deps/bucomm.Po"; else rm -f ".deps/bucomm.Tpo"; exit 1; fi if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../include -O3 -DDBUG_OFF -MT filemode.o -MD -MP -MF ".deps/filemode.Tpo" -c -o filemode.o filemode.c; \ then mv -f ".deps/filemode.Tpo" ".deps/filemode.Po"; else rm -f ".deps/filemode. Tpo"; exit 1; fi if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../include -O3 -DDBUG_OFF -MT linuxthreads.o -MD -MP -MF ".deps/linuxthreads.Tpo" -c -o linuxthreads.o linuxthreads.c; \ then mv -f ".deps/linuxthreads.Tpo" ".deps/linuxthreads.Po"; else rm -f ".deps/l inuxthreads.Tpo"; exit 1; fi if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../include -O3 -DDBUG_OFF -MT rddbg.o -MD -MP -MF ".deps/rddbg.Tpo" -c -o rddbg.o rddbg.c; \ then mv -f ".deps/rddbg.Tpo" ".deps/rddbg.Po"; else rm -f ".deps/rddbg.Tpo"; exi t 1; fi if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../include -O3 -DDBUG_OFF -MT debug.o -MD -MP -MF ".deps/debug.Tpo" -c -o debug.o debug.c; \ then mv -f ".deps/debug.Tpo" ".deps/debug.Po"; else rm -f ".deps/debug.Tpo"; exi t 1; fi if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../include -O3 -DDBUG_OFF -MT ieee.o -MD -MP -MF ".deps/ieee.Tpo" -c -o ieee.o ieee.c; \ then mv -f ".deps/ieee.Tpo" ".deps/ieee.Po"; else rm -f ".deps/ieee.Tpo"; exit 1 ; fi if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../include -O3 -DDBUG_OFF -MT pstack.o -MD -MP -MF ".deps/pstack.Tpo" -c -o pstack.o pstack.c; \ then mv -f ".deps/pstack.Tpo" ".deps/pstack.Po"; else rm -f ".deps/pstack.Tpo"; exit 1; fi pstack.c: In function `decode_symbol': pstack.c:2203: error: structure has no member named `_cooked_size' make[3]: *** [pstack.o] Error 1 But, anyway, looks like compiling of 5.1.x --with-pstack should be checked by developers.
[25 Jul 2006 16:48]
Kent Boortz
This is a duplicate of bug#13354. The feature --with-pstack is not very portable. Currently it is for Linux x86 only, and depend on GNU libtool internal structures that varies between libtool versions. MySQL AB plans to replace it with something better and more portable, but it is currently unknown if and when this work will be started.