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

             Bug #: 53575
           Summary: --with-abi=x32 without --with-multilib-list doesn't
                    work
    Classification: Unclassified
           Product: gcc
           Version: 4.8.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
        AssignedTo: unassig...@gcc.gnu.org
        ReportedBy: hjl.to...@gmail.com
                CC: ubiz...@gmail.com
            Target: x86-64-*-linux*


From:

http://groups.google.com/group/x32-abi/browse_thread/thread/360abfbd5e1b4f8a?hl=en

---
if i configure gcc using --with-abi=mx32, but don't specify
--with-multilib-list, then the config will default to
--with-multilib-list=m32,m64.  then trying to build gcc will fail as
it will use "." for its os multilib dir instead of "../libx32".  if i
specify --with-multilib-list=mx32, then everything works great.

should the config.gcc logic for with_multilib_list==default consult
the with_abi setting ?  maybe something like:
if test "$x86_multilibs" = "default"; then
    if test "$with_abi" != ""; then
        x86_multilibs="$with_abi"
    else
        x86_multilibs="m64,m32"
    fi
fi 
---

I think --with-abi=mx32 should also add x32 run-time
library, in addition to 64-bit and 32-bit ones.

Reply via email to