Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Sagaert Johan <sagaert.johan@skynet.be>
To: buildroot@busybox.net
Subject: [Buildroot] building mysqlclient fails when using gcc 4.51 : do_abi_check needs perl ?
Date: Wed, 29 Dec 2010 20:52:31 +0100	[thread overview]
Message-ID: <E1292EBFD5E7463BA24ECFD251C4CCE0@apexjs> (raw)

Hi
 
This build seems to fail on do_abi_check when using GCC 451 (EABI or OABI
selection in buildroot does not matter):

I have no idea if this is a GCC 4.5 issue or something with mysql client or
some other reason.

Maybe do_abi_check needs perl (see the PATH below) but i do not have any
perl stuff enabled in buildroot ? 

Regards ,
Johan


^[[7m>>> mysql_client 5.1.47 Building^[[27m
PATH="/home/johan/buildroot/output/host/bin:/home/johan/buildroot/output/hos
t/usr/bin:/home/johan/buildroot/output/host/usr/sbin/:/usr/local/sbin:/usr/l
ocal/bin:/usr/sbin:/usr/bin:/sbin:/bin:/home/johan/buildroot/output/build/st
aging_dir/usr/bin" PERLLIB="/home/johan/buildroot/output/host/usr/lib/perl"
/usr/bin/make -j2  -C
/home/johan/buildroot/output/build/mysql_client-5.1.47/
make[1]: Entering directory
`/home/johan/buildroot11/output/build/mysql_client-5.1.47'
Making all in .
make[2]: Entering directory
`/home/johan/buildroot11/output/build/mysql_client-5.1.47'
/usr/bin/make abi_headers="include/mysql/plugin.h include/mysql.h"
do_abi_check
make[3]: Entering directory
`/home/johan/buildroot11/output/build/mysql_client-5.1.47'
set -ex; \
	for file in include/mysql/plugin.h include/mysql.h; do \
	
/home/johan/buildroot/output/build/staging_dir/usr/bin/arm-unknown-linux-ucl
ibc-gcc --sysroot=/home/johan/buildroot/output/build/staging_dir -E
-nostdinc -dI \
	                  -I./include \
	                  -I./include/mysql \
	                  -I./sql \
	                  -I./include \
	                  -I./include/mysql \
	                  -I./sql \
	                                 $file 2>/dev/null | \
	                  /bin/sed -e '/^# /d' \
	                            -e '/^[ 	]*$/d' \
	                            -e '/^#pragma GCC set_debug_pwd/d' \
	                            -e '/^#ident/d' > \
	                                       ./abi_check.out; \
	                  /usr/bin/diff -w $file.pp ./abi_check.out; \
	                  /bin/rm ./abi_check.out; \
	done
+ for file in include/mysql/plugin.h include/mysql.h
+
/home/johan/buildroot/output/build/staging_dir/usr/bin/arm-unknown-linux-ucl
ibc-gcc --sysroot=/home/johan/buildroot/output/build/staging_dir -E
-nostdinc -dI -I./include -I./include/mysql -I./sql -I./include
-I./include/mysql -I./sql include/mysql/plugin.h
+ /bin/sed -e '/^# /d' -e '/^[ 	]*$/d' -e '/^#pragma GCC set_debug_pwd/d' -e
'/^#ident/d'
+ /usr/bin/diff -w include/mysql/plugin.h.pp ./abi_check.out
+ /bin/rm ./abi_check.out
+ for file in include/mysql/plugin.h include/mysql.h
+
/home/johan/buildroot/output/build/staging_dir/usr/bin/arm-unknown-linux-ucl
ibc-gcc --sysroot=/home/johan/buildroot/output/build/staging_dir -E
-nostdinc -dI -I./include -I./include/mysql -I./sql -I./include
-I./include/mysql -I./sql include/mysql.h
+ /bin/sed -e '/^# /d' -e '/^[ 	]*$/d' -e '/^#pragma GCC set_debug_pwd/d' -e
'/^#ident/d'
+ /usr/bin/diff -w include/mysql.h.pp ./abi_check.out
2,674d1
< typedef char my_bool;
< typedef int my_socket;
< #include "mysql_version.h"
< #include "mysql_com.h"
< enum enum_server_command
< {
<   COM_SLEEP, COM_QUIT, COM_INIT_DB, COM_QUERY, COM_FIELD_LIST,
<   COM_CREATE_DB, COM_DROP_DB, COM_REFRESH, COM_SHUTDOWN, COM_STATISTICS,
<   COM_PROCESS_INFO, COM_CONNECT, COM_PROCESS_KILL, COM_DEBUG, COM_PING,
<   COM_TIME, COM_DELAYED_INSERT, COM_CHANGE_USER, COM_BINLOG_DUMP,
<   COM_TABLE_DUMP, COM_CONNECT_OUT, COM_REGISTER_SLAVE,
<   COM_STMT_PREPARE, COM_STMT_EXECUTE, COM_STMT_SEND_LONG_DATA,
COM_STMT_CLOSE,
<   COM_STMT_RESET, COM_SET_OPTION, COM_STMT_FETCH, COM_DAEMON,
<   COM_END
< };
< struct st_vio;
< typedef struct st_vio Vio;
< typedef struct st_net {
<   Vio *vio;
<   unsigned char *buff,*buff_end,*write_pos,*read_pos;
<   my_socket fd;
<   unsigned long remain_in_buf,length, buf_length, where_b;
<   unsigned long max_packet,max_packet_size;
<   unsigned int pkt_nr,compress_pkt_nr;
<   unsigned int write_timeout, read_timeout, retry_count;
<   int fcntl;
....
snip 
....

< my_bool mysql_autocommit(MYSQL * mysql, my_bool auto_mode);
< my_bool mysql_more_results(MYSQL *mysql);
< int mysql_next_result(MYSQL *mysql);
< void mysql_close(MYSQL *sock);
make[3]: *** [do_abi_check] Error 1
make[3]: Leaving directory
`/home/johan/buildroot11/output/build/mysql_client-5.1.47'
make[2]: *** [abi_check] Error 2
make[2]: Leaving directory
`/home/johan/buildroot11/output/build/mysql_client-5.1.47'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/home/johan/buildroot11/output/build/mysql_client-5.1.47'
make: ***
[/home/johan/buildroot/output/build/mysql_client-5.1.47/.stamp_built] Error
2
 
 
 
 
 

             reply	other threads:[~2010-12-29 19:52 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-12-29 19:52 Sagaert Johan [this message]
2011-01-03  9:10 ` [Buildroot] building mysqlclient fails when using gcc 4.51 : do_abi_check needs perl ? Thomas Petazzoni

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=E1292EBFD5E7463BA24ECFD251C4CCE0@apexjs \
    --to=sagaert.johan@skynet.be \
    --cc=buildroot@busybox.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox