GCC internal error on query_response_time.cc, CentOS 5, 32 bit

Bug #963041 reported by Laurynas Biveinis
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Percona Server moved to https://jira.percona.com/projects/PS
Won't Fix
High
Laurynas Biveinis
5.5
Won't Fix
High
Laurynas Biveinis

Bug Description

/home/jenkins/workspace/percona-server-5.5-trunk/BUILD_TYPE/release/Host/centos5-32/Percona-Server-5.5.21-rel24.2/sql/query_response_time.cc: In function ‘void query_response_time_collect(ulonglong)’:
/home/jenkins/workspace/percona-server-5.5-trunk/BUILD_TYPE/release/Host/centos5-32/Percona-Server-5.5.21-rel24.2/sql/query_response_time.cc:296: error: unable to find a register to spill in class ‘GENERAL_REGS’
/home/jenkins/workspace/percona-server-5.5-trunk/BUILD_TYPE/release/Host/centos5-32/Percona-Server-5.5.21-rel24.2/sql/query_response_time.cc:296: error: this is the insn:
(insn:HI 70 69 71 9 /home/jenkins/workspace/percona-server-5.5-trunk/BUILD_TYPE/release/Host/centos5-32/Percona-Server-5.5.21-rel24.2/include/my_atomic.h:211 (parallel [
            (set (reg:DI 82)
                (mem/v:DI (plus:SI (reg/f:SI 79)
                        (reg:SI 78)) [-1 S8 A32]))
            (set (mem/v:DI (plus:SI (reg/f:SI 79)
                        (reg:SI 78)) [-1 S8 A32])
                (unspec_volatile:DI [
                        (mem/v:DI (plus:SI (reg/f:SI 79)
                                (reg:SI 78)) [-1 S8 A32])
                        (reg:DI 82)
                        (reg:SI 83)
                        (reg:SI 84)
                    ] 10))
            (set (reg:CCZ 17 flags)
                (compare:CCZ (unspec_volatile:DI [
                            (mem/v:DI (plus:SI (reg/f:SI 79)
                                    (reg:SI 78)) [-1 S8 A32])
                            (reg:DI 82)
                            (reg:SI 83)
                            (reg:SI 84)
                        ] 11)
                    (reg:DI 82)))
        ]) 1101 {*sync_double_compare_and_swap_ccdi_pic} (insn_list:REG_DEP_TRUE 68 (insn_list:REG_DEP_TRUE 69 (nil)))
    (expr_list:REG_DEAD (reg:SI 84)
        (expr_list:REG_DEAD (reg:SI 83)
            (nil))))
/home/jenkins/workspace/percona-server-5.5-trunk/BUILD_TYPE/release/Host/centos5-32/Percona-Server-5.5.21-rel24.2/sql/query_response_time.cc:296: confused by earlier errors, bailing out
make[2]: *** [sql/CMakeFiles/sql.dir/query_response_time.cc.o] Error 1

This could be an occurrence of
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39431

Revision history for this message
Laurynas Biveinis (laurynas-biveinis) wrote :

Workarounds:
- Upgrade GCC;
- Compile the offending file with -march=i486 or with -fomit-frame-pointer.

Changed in percona-server:
status: In Progress → Won't Fix
Revision history for this message
Shahriyar Rzayev (rzayev-sehriyar) wrote :

Percona now uses JIRA for bug reports so this bug report is migrated to: https://jira.percona.com/browse/PS-548

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.