[Bug ada/70759] New: Ada rts fails to build with -mabi=ilp32

schwab@linux-m68k.org gcc-bugzilla@gcc.gnu.org
Thu Apr 21 20:08:00 GMT 2016


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

            Bug ID: 70759
           Summary: Ada rts fails to build with -mabi=ilp32
           Product: gcc
           Version: 6.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: ada
          Assignee: unassigned at gcc dot gnu.org
          Reporter: schwab@linux-m68k.org
  Target Milestone: ---
            Target: aarch64-*-*

Created attachment 38324
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=38324&action=edit
a-assert.s

Trying to build with --with-multilib-list=lp64,ilp32 on aarch64 fails while
building the ada rts for -mabi=ilp32:

/home/abuild/rpmbuild/BUILD/gcc-6.0.0-r234449/obj-aarch64-suse-linux/./gcc/xgcc
-B/home/abuild/rpmbuild/BUILD/gcc-6.0.0-r234449/obj-aarch64-suse-linux/./gcc/
-B/usr/aarch64-suse-linux/bin/ -B/usr/aarch64-suse-linux/lib/ -isystem
/usr/aarch64-suse-linux/include -isystem /usr/aarch64-suse-linux/sys-include   
-c -g -O2 -mabi=ilp32 -fPIC  -W -Wall -gnatpg -nostdinc -mabi=ilp32 
a-assert.adb -o a-assert.o -save-temps
a-assert.s: Assembler messages:
a-assert.s:114: Error: cannot represent BFD_RELOC_64 relocation in this object
file format

This is the offending definition:

        .type   ada__assertions__assertion_error, %object
        .size   ada__assertions__assertion_error, 8
ada__assertions__assertion_error:
        .8byte  system__assertions__assert_failure
        .data


More information about the Gcc-bugs mailing list