Bug #47193 make install fails due to do_abi_check
Submitted: 8 Sep 2009 18:14 Modified: 27 Apr 2018 12:17
Reporter: Ben Dauphinee Email Updates:
Status: Unsupported Impact on me:
None 
Category:MySQL Server: Compiling Severity:S1 (Critical)
Version:mysql-5.1.38 OS:Linux
Assigned to: CPU Architecture:Any
Tags: compile, maemo, scratchbox, ubuntu

[8 Sep 2009 18:14] Ben Dauphinee
Description:
make fails with do_abi_check

--- Log ---
> } pthread_rwlock_t;
> typedef union
> {
>   char __size[8];
>   long int __align;
> } pthread_rwlockattr_t;
> typedef volatile int pthread_spinlock_t;
> typedef union
> {
>   char __size[20];
>   long int __align;
> } pthread_barrier_t;
> typedef union
> {
>   char __size[4];
>   int __align;
> } pthread_barrierattr_t;
make[2]: *** [do_abi_check] Error 1
make[2]: Leaving directory `/home/ben/mysql-5.1.38'
make[1]: *** [abi_check] Error 2
make[1]: Leaving directory `/home/ben/mysql-5.1.38'
make: *** [all-recursive] Error 1
[sbox-DIABLO_X86: ~/mysql-5.1.38] >

How to repeat:
Ubuntu 9.04 installed, and updated to latest.
Install by following http://repository.maemo.org/stable/4.1.2/INSTALL.txt
Download source code, unpack, run ./configure, then make
[8 Sep 2009 18:14] Ben Dauphinee
Similar to http://bugs.mysql.com/bug.php?id=41562
[9 Sep 2009 17:27] Sergei Golubchik
please provide the full log of what everything 'make' has printed, not the last few lines only. You can attach it as a file instead of posting inline.
[10 Sep 2009 10:37] Ben Dauphinee
configure and make log

Attachment: build_log.txt (text/plain), 41.87 KiB.

[10 Sep 2009 11:12] Sergei Golubchik
Okay, thanks.
As you can see the gcc command line is

  gcc -E -nostdinc -dI -I./include -I./include/mysql -I./sql -I./include -I./include/mysql -I./sql include/mysql/plugin.h

note that -nostdinc tells gcc to NOT use standard header files, but in your case it does.

Either gcc from out the scratchbox somehow ignores -nostdinc or you have standard headers (like, say, bits/pthreadtypes.h) somewhere in ./include, ./include/mysql, ./sql where gcc finds them.
[9 Oct 2009 23:00] Bugs System
No feedback was provided for this bug for over a month, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
[27 Apr 2018 12:17] Yngve Svendsen
Posted by developer:
 
Obsolete MySQL and OS versions, and most probably not a bug.