public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/62038] New: Out of range branch target in thunk
@ 2014-08-06 17:16 danglin at gcc dot gnu.org
  2014-08-11 19:07 ` [Bug target/62038] " danglin at gcc dot gnu.org
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: danglin at gcc dot gnu.org @ 2014-08-06 17:16 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62038

            Bug ID: 62038
           Summary: Out of range branch target in thunk
           Product: gcc
           Version: 4.9.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: danglin at gcc dot gnu.org
              Host: hppa-unknown-linux-gnu
            Target: hppa-unknown-linux-gnu
             Build: hppa-unknown-linux-gnu

Created attachment 33263
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=33263&action=edit
Preprocessed source

The compilation of texmaker.cpp fails as follows:

g++ -c -pipe -g -O2 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -w
-D_REENTRANT -fPIE -DTEXMAKERVERSION=\"4.3\" -DHAVE_SPLASH -DPOPPLER24
-DPREFIX=\"/usr\" -DDEBIAN_SPELLDIR -DQT_NO_DEBUG -DQT_WEBKITWIDGETS_LIB
-DQT_QUICK_LIB -DQT_OPENGL_LIB -DQT_PRINTSUPPORT_LIB -DQT_WEBKIT_LIB
-DQT_QML_LIB -DQT_WIDGETS_LIB -DQT_SCRIPT_LIB -DQT_CONCURRENT_LIB
-DQT_NETWORK_LIB -DQT_XML_LIB -DQT_GUI_LIB -DQT_CORE_LIB
-I/usr/lib/hppa-linux-gnu/qt5/mkspecs/linux-g++ -I. -isystem
/usr/include/poppler/qt5 -isystem /usr/include/poppler -isystem
/usr/include/synctex -isystem /usr/include/hppa-linux-gnu/qt5 -isystem
/usr/include/hppa-linux-gnu/qt5/QtWebKitWidgets -isystem
/usr/include/hppa-linux-gnu/qt5/QtQuick -isystem
/usr/include/hppa-linux-gnu/qt5/QtOpenGL -isystem
/usr/include/hppa-linux-gnu/qt5/QtPrintSupport -isystem
/usr/include/hppa-linux-gnu/qt5/QtWebKit -isystem
/usr/include/hppa-linux-gnu/qt5/QtQml -isystem
/usr/include/hppa-linux-gnu/qt5/QtWidgets -isystem
/usr/include/hppa-linux-gnu/qt5/QtScript -isystem
/usr/include/hppa-linux-gnu/qt5/QtConcurrent -isystem
/usr/include/hppa-linux-gnu/qt5/QtNetwork -isystem
/usr/include/hppa-linux-gnu/qt5/QtXml -isystem
/usr/include/hppa-linux-gnu/qt5/QtGui -isystem
/usr/include/hppa-linux-gnu/qt5/QtCore -I.moc -I.ui -o .obj/texmaker.o
texmaker.cpp
{standard input}: Assembler messages:
{standard input}:246604: Error: Field out of range [-262144..262143] (-417748).
{standard input}:246674: Error: Field out of range [-262144..262143] (-417856).
make[1]: *** [.obj/texmaker.o] Error 1

Problem is branches in following thunks:

        .cfi_startproc
_ZThn8_N8TexmakerD1Ev:
        .PROC
        .CALLINFO FRAME=128,CALLS,SAVE_RP,ENTRY_GR=7
        .ENTRY
        b _ZN8TexmakerD2Ev
        ldo -8(%r26),%r26
        .EXIT
        .PROCEND
        .cfi_endproc

        .cfi_startproc
_ZThn8_N8TexmakerD0Ev:
        .PROC
        .CALLINFO FRAME=64,CALLS,SAVE_RP,ENTRY_GR=4
        .ENTRY
        b _ZN8TexmakerD0Ev
        ldo -8(%r26),%r26
        .EXIT        .PROCEND
        .cfi_endproc

We need to force targets into register %r1 and use bv branch to ensure
we can reach target.


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2014-08-23 16:05 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-08-06 17:16 [Bug target/62038] New: Out of range branch target in thunk danglin at gcc dot gnu.org
2014-08-11 19:07 ` [Bug target/62038] " danglin at gcc dot gnu.org
2014-08-11 19:11 ` danglin at gcc dot gnu.org
2014-08-11 19:14 ` danglin at gcc dot gnu.org
2014-08-11 20:00 ` danglin at gcc dot gnu.org
2014-08-23 15:56 ` danglin at gcc dot gnu.org
2014-08-23 15:58 ` danglin at gcc dot gnu.org
2014-08-23 16:01 ` danglin at gcc dot gnu.org
2014-08-23 16:05 ` danglin at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).