This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug target/56031] New: Set ABI/Multilib to x32 when targeting x86_64-*-gnux32


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56031

             Bug #: 56031
           Summary: Set ABI/Multilib to x32 when targeting x86_64-*-gnux32
    Classification: Unclassified
           Product: gcc
           Version: 4.8.0
            Status: UNCONFIRMED
          Severity: enhancement
          Priority: P3
         Component: target
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: gregnietsky@gmail.com


Created attachment 29206
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=29206
Set native ABI to x32 when x86-64-*-gnux32 is targeted and no --with-abi is
given

When building native non multilib x86_64-*-gnux32 target you have to supply
--with-abi=x32 this is not intuitive and IMHO should be default and not need be
supplied.

the attached patch sets with-abi and sets native x32 if configured target is
x86_64-*-gnux32 and with-abi is not set.

i personally feel that this target may include 32/64 multilibs but should
always be native x32 to build it native 64 passing --with-abi=64 is required
the multilib-list option does not have any effect.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]