public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "giulio.benetti at benettiengineering dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/101971] New: M68k: ICE: Tried to convert PC relative branch to absolute jump
Date: Wed, 18 Aug 2021 22:36:11 +0000	[thread overview]
Message-ID: <bug-101971-4@http.gcc.gnu.org/bugzilla/> (raw)

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

            Bug ID: 101971
           Summary: M68k: ICE: Tried to convert PC relative branch to
                    absolute jump
           Product: gcc
           Version: 9.3.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: giulio.benetti at benettiengineering dot com
  Target Milestone: ---

When building package bullet on buildroot we get this error:
'''
libtool: compile: 
/home/giuliobenetti/br_reproduce/b92980a563fe7ee331e70f288ce041be0bf29d40/output/host/bin/m68k-linux-g++
-DHAVE_CONFIG_H -I. -std=c++11 -I.. -g -I../others -fPIC -O3 -I../headers
-DCURL_STATICLIB
-I/home/giuliobenetti/br_reproduce/b92980a563fe7ee331e70f288ce041be0bf29d40/output/host/m68k-buildroot-uclinux-uclibc/sysroot/usr/bin/../../usr/include
-DWITH_CURL_SSLVERSION_TLSv1_2 -DWITH_CURL
-I/home/giuliobenetti/br_reproduce/b92980a563fe7ee331e70f288ce041be0bf29d40/output/host/m68k-buildroot-uclinux-uclibc/sysroot/usr/bin/../../usr/include
-DPCRE_STATIC
-I/home/giuliobenetti/br_reproduce/b92980a563fe7ee331e70f288ce041be0bf29d40/output/host/m68k-buildroot-uclinux-uclibc/sysroot/usr/bin/../../usr/include/libxml2
-DWITH_LIBXML2 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64
-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0
-fno-dwarf2-cfi-asm -Wl,-elf2flt -fno-dwarf2-cfi-asm -Wl,-elf2flt -c
variables/xml.cc -o variables/libmodsecurity_la-xml.o
/tmp/ccU6wDwq.s: Assembler messages:
/tmp/ccU6wDwq.s: Fatal error: Tried to convert PC relative branch to absolute
jump
make[5]: *** [Makefile:1886: parser/libmodsecurity_la-seclang-scanner.lo] Error
1
make[5]: *** Waiting for unfinished jobs....
/tmp/cckb1Yg3.s: Assembler messages:
/tmp/cckb1Yg3.s: Fatal error: Tried to convert PC relative branch to absolute
jump
make[5]: *** [Makefile:1879: parser/libmodsecurity_la-seclang-parser.lo] Error
1
make[4]: *** [Makefile:3282: all-recursive] Error 1
make[3]: *** [Makefile:1033: all] Error 2
make[2]: *** [Makefile:1032: all-recursive] Error 1
make[1]: *** [package/pkg-generic.mk:270:
/home/giuliobenetti/br_reproduce/b92980a563fe7ee331e70f288ce041be0bf29d40/output/build/libmodsecurity-3.0.5/.stamp_built]
Error 2
make: *** [Makefile:23: _all] Error 2
'''

To reproduce it:
'''
# git clone git://git.busybox.net/buildroot
# wget https://git.busybox.net/buildroot-test/tree/utils/br-reproduce-build

- modify BASE_GIT=... with your buildroot path in br-reproduce-build then:
# chmod a+x br-reproduce-build
# ./br-reproduce-build b92980a563fe7ee331e70f288ce041be0bf29d40
'''

             reply	other threads:[~2021-08-18 22:36 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-08-18 22:36 giulio.benetti at benettiengineering dot com [this message]
2021-08-18 22:40 ` [Bug target/101971] " pinskia at gcc dot gnu.org
2021-08-18 22:42 ` pinskia at gcc dot gnu.org
2021-08-18 22:48 ` giulio.benetti at benettiengineering dot com
2021-08-18 23:18 ` giulio.benetti at benettiengineering dot com
2021-08-19  7:31 ` schwab@linux-m68k.org
2021-08-20 16:36 ` giulio.benetti at benettiengineering dot com
2021-08-21 22:15 ` giulio.benetti at benettiengineering dot com
2021-08-21 22:24 ` giulio.benetti at benettiengineering dot com
2021-08-21 22:29 ` giulio.benetti at benettiengineering dot com
2021-08-21 22:29 ` giulio.benetti at benettiengineering dot com
2021-08-21 22:53 ` giulio.benetti at benettiengineering dot com
2022-01-14 10:19 ` giulio.benetti at benettiengineering dot com

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=bug-101971-4@http.gcc.gnu.org/bugzilla/ \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=gcc-bugs@gcc.gnu.org \
    /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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).