Bug #55860 5.6.0-m4 rhel4-x86-64bit build failed
Submitted: 9 Aug 2010 20:54 Modified: 16 Nov 2010 2:54
Reporter: Hery Ramilison Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Server: Compiling Severity:S2 (Serious)
Version:5.6.0-m4 OS:Linux (rhel4-x86-64bit)
Assigned to: CPU Architecture:Any

[9 Aug 2010 20:54] Hery Ramilison
Description:
Hi Alik,

The 5.6.0-m4 rhel4-x86-64bit build failed with the error below; the entire log is available under:
http://pb2.norway.sun.com/?action=archive_download&archive_id=2129988&pretty=please

We tried to look for a fix but was unable to come up with one. Can you please take a look at this ?

Thanks,
Hery

[ 65%] Building C object unittest/mysys/CMakeFiles/my_atomic-t.dir/my_atomic-t.c.o
cd /export/home/pb2/build/sb_0-2129861-1281323121.08/rpm/BUILD/mysql-5.6.0-m4/debug/unittest/mysys && /usr/bin/gcc  -DHAVE_CONFIG_H -g -pipe -m64  -fPIC -Wall -O -g -static-libgcc -fno-omit-frame-pointer -DENABLED_DEBUG_SYNC -I/export/home/pb2/build/sb_0-2129861-1281323121.08/rpm/BUILD/mysql-5.6.0-m4/debug/include -I/export/home/pb2/build/sb_0-2129861-1281323121.08/rpm/BUILD/mysql-5.6.0-m4/mysql-5.6.0-m4/include -I/export/home/pb2/build/sb_0-2129861-1281323121.08/rpm/BUILD/mysql-5.6.0-m4/mysql-5.6.0-m4/sql -I/export/home/pb2/build/sb_0-2129861-1281323121.08/rpm/BUILD/mysql-5.6.0-m4/mysql-5.6.0-m4/regex -I/export/home/pb2/build/sb_0-2129861-1281323121.08/rpm/BUILD/mysql-5.6.0-m4/mysql-5.6.0-m4/extra/yassl/include -I/export/home/pb2/build/sb_0-2129861-1281323121.08/rpm/BUILD/mysql-5.6.0-m4/mysql-5.6.0-m4/unittest/mytap   -o CMakeFiles/my_atomic-t.dir/my_atomic-t.c.o   -c /export/home/pb2/build/sb_0-2129861-1281323121.08/rpm/BUILD/mysql-5.6.0-m4/mysql-5.6.0-m4/unittest/mysys/my_atomic-t.c
/export/home/pb2/build/sb_0-2129861-1281323121.08/rpm/BUILD/mysql-5.6.0-m4/mysql-5.6.0-m4/unittest/mysys/my_atomic-t.c: In function `test_atomic_add':
/export/home/pb2/build/sb_0-2129861-1281323121.08/rpm/BUILD/mysql-5.6.0-m4/mysql-5.6.0-m4/unittest/mysys/my_atomic-t.c:42: error: unrecognizable insn:
(insn 133 17 115 0 /export/home/pb2/build/sb_0-2129861-1281323121.08/rpm/BUILD/mysql-5.6.0-m4/mysql-5.6.0-m4/unittest/mysys/my_atomic-t.c:27 (set (reg/v:SI 2 cx [orig:67 x ] [67])
        (subreg:SI (plus:DI (subreg:DI (reg:SI 6 bp) 0)
                (const_int -4 [0xfffffffffffffffc])) 0)) -1 (nil)
    (nil))
/export/home/pb2/build/sb_0-2129861-1281323121.08/rpm/BUILD/mysql-5.6.0-m4/mysql-5.6.0-m4/unittest/mysys/my_atomic-t.c:42: internal compiler error: in extract_insn, at recog.c:2083
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://bugzilla.redhat.com/bugzilla> for instructions.
Preprocessed source stored into /export/home/pb2/build/sb_0-2129861-1281323121.08/tmp/cc0s0PO3.out file, please attach this to your bugreport.
make[2]: *** [unittest/mysys/CMakeFiles/my_atomic-t.dir/my_atomic-t.c.o] Error 1
make[2]: Leaving directory `/export/home/pb2/build/sb_0-2129861-1281323121.08/rpm/BUILD/mysql-5.6.0-m4/debug'
make[1]: *** [unittest/mysys/CMakeFiles/my_atomic-t.dir/all] Error 2
make[1]: Leaving directory `/export/home/pb2/build/sb_0-2129861-1281323121.08/rpm/BUILD/mysql-5.6.0-m4/debug'
make: *** [all] Error 2

How to repeat:
Rebuild 5.6.0-m4 on rhel4-x86-64bi
[15 Oct 2010 9:58] Sveta Smirnova
Thank you for the report.

I can not repeat described behavior. Which version of gcc do you use?
[16 Nov 2010 0: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".
[16 Nov 2010 2:54] Hery Ramilison
rebuilt it and the build was fine.