public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/53575] New: --with-abi=x32 without --with-multilib-list doesn't work
@ 2012-06-04 14:37 hjl.tools at gmail dot com
  2012-06-04 18:10 ` [Bug target/53575] " hjl.tools at gmail dot com
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: hjl.tools at gmail dot com @ 2012-06-04 14:37 UTC (permalink / raw)
  To: gcc-bugs

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: unassigned@gcc.gnu.org
        ReportedBy: hjl.tools@gmail.com
                CC: ubizjak@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.


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

* [Bug target/53575] --with-abi=x32 without --with-multilib-list doesn't work
  2012-06-04 14:37 [Bug target/53575] New: --with-abi=x32 without --with-multilib-list doesn't work hjl.tools at gmail dot com
@ 2012-06-04 18:10 ` hjl.tools at gmail dot com
  2012-06-05 13:13 ` hjl.tools at gmail dot com
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: hjl.tools at gmail dot com @ 2012-06-04 18:10 UTC (permalink / raw)
  To: gcc-bugs

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

H.J. Lu <hjl.tools at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                URL|                            |http://gcc.gnu.org/ml/gcc-p
                   |                            |atches/2012-06/msg00225.htm
                   |                            |l
   Target Milestone|---                         |4.8.0

--- Comment #1 from H.J. Lu <hjl.tools at gmail dot com> 2012-06-04 18:10:39 UTC ---
A patch is posted at

http://gcc.gnu.org/ml/gcc-patches/2012-06/msg00225.html


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

* [Bug target/53575] --with-abi=x32 without --with-multilib-list doesn't work
  2012-06-04 14:37 [Bug target/53575] New: --with-abi=x32 without --with-multilib-list doesn't work hjl.tools at gmail dot com
  2012-06-04 18:10 ` [Bug target/53575] " hjl.tools at gmail dot com
  2012-06-05 13:13 ` hjl.tools at gmail dot com
@ 2012-06-05 13:13 ` hjl at gcc dot gnu.org
  2012-06-05 13:14 ` hjl at gcc dot gnu.org
  3 siblings, 0 replies; 5+ messages in thread
From: hjl at gcc dot gnu.org @ 2012-06-05 13:13 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #2 from hjl at gcc dot gnu.org <hjl at gcc dot gnu.org> 2012-06-05 13:13:01 UTC ---
Author: hjl
Date: Tue Jun  5 13:12:52 2012
New Revision: 188240

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=188240
Log:
Select x32 run-time library for --with-abi={x32|mx32}

    PR target/53575
    * config.gcc: Select x32 run-time library if --with-abi={x32|mx32}
    is used for x86_64-*-*.

Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/config.gcc


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

* [Bug target/53575] --with-abi=x32 without --with-multilib-list doesn't work
  2012-06-04 14:37 [Bug target/53575] New: --with-abi=x32 without --with-multilib-list doesn't work hjl.tools at gmail dot com
  2012-06-04 18:10 ` [Bug target/53575] " hjl.tools at gmail dot com
@ 2012-06-05 13:13 ` hjl.tools at gmail dot com
  2012-06-05 13:13 ` hjl at gcc dot gnu.org
  2012-06-05 13:14 ` hjl at gcc dot gnu.org
  3 siblings, 0 replies; 5+ messages in thread
From: hjl.tools at gmail dot com @ 2012-06-05 13:13 UTC (permalink / raw)
  To: gcc-bugs

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

H.J. Lu <hjl.tools at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |FIXED

--- Comment #2 from hjl at gcc dot gnu.org <hjl at gcc dot gnu.org> 2012-06-05 13:13:01 UTC ---
Author: hjl
Date: Tue Jun  5 13:12:52 2012
New Revision: 188240

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=188240
Log:
Select x32 run-time library for --with-abi={x32|mx32}

    PR target/53575
    * config.gcc: Select x32 run-time library if --with-abi={x32|mx32}
    is used for x86_64-*-*.

Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/config.gcc

--- Comment #3 from H.J. Lu <hjl.tools at gmail dot com> 2012-06-05 13:13:38 UTC ---
Fixed.


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

* [Bug target/53575] --with-abi=x32 without --with-multilib-list doesn't work
  2012-06-04 14:37 [Bug target/53575] New: --with-abi=x32 without --with-multilib-list doesn't work hjl.tools at gmail dot com
                   ` (2 preceding siblings ...)
  2012-06-05 13:13 ` hjl at gcc dot gnu.org
@ 2012-06-05 13:14 ` hjl at gcc dot gnu.org
  3 siblings, 0 replies; 5+ messages in thread
From: hjl at gcc dot gnu.org @ 2012-06-05 13:14 UTC (permalink / raw)
  To: gcc-bugs

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

H.J. Lu <hjl.tools at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |FIXED

--- Comment #3 from H.J. Lu <hjl.tools at gmail dot com> 2012-06-05 13:13:38 UTC ---
Fixed.


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

end of thread, other threads:[~2012-06-05 13:14 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-06-04 14:37 [Bug target/53575] New: --with-abi=x32 without --with-multilib-list doesn't work hjl.tools at gmail dot com
2012-06-04 18:10 ` [Bug target/53575] " hjl.tools at gmail dot com
2012-06-05 13:13 ` hjl.tools at gmail dot com
2012-06-05 13:13 ` hjl at gcc dot gnu.org
2012-06-05 13:14 ` hjl 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).