public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug ada/56030] New: Ada fails to build when targeting x32 non multilib
@ 2013-01-18 13:36 gregnietsky at gmail dot com
  2013-01-18 14:57 ` [Bug ada/56030] " gregnietsky at gmail dot com
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: gregnietsky at gmail dot com @ 2013-01-18 13:36 UTC (permalink / raw)
  To: gcc-bugs


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

             Bug #: 56030
           Summary: Ada fails to build when targeting x32 non multilib
    Classification: Unclassified
           Product: gcc
           Version: 4.8.0
            Status: UNCONFIRMED
          Severity: minor
          Priority: P3
         Component: ada
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: gregnietsky@gmail.com


Created attachment 29205
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=29205
Small patch to set the build ABI to x32 when targeting x86_64-*-gnux32

ADA fails with the following

a-direct.adb:751:13: warning: types for unchecked conversion have different
sizes

the root of the problem is the rts directory configuration is setup for native
64.

ADA does not recognize x86_64-*-gnux32 as been x32 and will only build x32 as a
multilib not native.

as i believe there is nothing wrong with having a x86_64-gnux32 system with no
32/64 support i submit a patch to rectify this.


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

* [Bug ada/56030] Ada fails to build when targeting x32 non multilib
  2013-01-18 13:36 [Bug ada/56030] New: Ada fails to build when targeting x32 non multilib gregnietsky at gmail dot com
@ 2013-01-18 14:57 ` gregnietsky at gmail dot com
  2013-01-18 18:23 ` gregnietsky at gmail dot com
                   ` (5 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: gregnietsky at gmail dot com @ 2013-01-18 14:57 UTC (permalink / raw)
  To: gcc-bugs


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

--- Comment #1 from Bill Gates <gregnietsky at gmail dot com> 2013-01-18 14:57:29 UTC ---
There is a glitch with this .... testing it with a native x32 and includeing 64
mutlilib fails on the multilib build as there is no /64 multilib directory
currently included ... small patch comming up ...


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

* [Bug ada/56030] Ada fails to build when targeting x32 non multilib
  2013-01-18 13:36 [Bug ada/56030] New: Ada fails to build when targeting x32 non multilib gregnietsky at gmail dot com
  2013-01-18 14:57 ` [Bug ada/56030] " gregnietsky at gmail dot com
@ 2013-01-18 18:23 ` gregnietsky at gmail dot com
  2013-01-18 20:07 ` hjl.tools at gmail dot com
                   ` (4 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: gregnietsky at gmail dot com @ 2013-01-18 18:23 UTC (permalink / raw)
  To: gcc-bugs


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

Bill Gates <gregnietsky at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #29205|0                           |1
        is obsolete|                            |

--- Comment #2 from Bill Gates <gregnietsky at gmail dot com> 2013-01-18 18:23:02 UTC ---
Created attachment 29212
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=29212
Updated patch taking /64 into account

its feasible to have /64 multilib when building -gnux32 with multilib and
should be taken into account


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

* [Bug ada/56030] Ada fails to build when targeting x32 non multilib
  2013-01-18 13:36 [Bug ada/56030] New: Ada fails to build when targeting x32 non multilib gregnietsky at gmail dot com
  2013-01-18 14:57 ` [Bug ada/56030] " gregnietsky at gmail dot com
  2013-01-18 18:23 ` gregnietsky at gmail dot com
@ 2013-01-18 20:07 ` hjl.tools at gmail dot com
  2013-01-18 20:53 ` gregnietsky at gmail dot com
                   ` (3 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: hjl.tools at gmail dot com @ 2013-01-18 20:07 UTC (permalink / raw)
  To: gcc-bugs


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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Depends on|                            |54040

--- Comment #3 from H.J. Lu <hjl.tools at gmail dot com> 2013-01-18 20:06:03 UTC ---
X32 isn't usable for Ada.  See PR 54040.


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

* [Bug ada/56030] Ada fails to build when targeting x32 non multilib
  2013-01-18 13:36 [Bug ada/56030] New: Ada fails to build when targeting x32 non multilib gregnietsky at gmail dot com
                   ` (2 preceding siblings ...)
  2013-01-18 20:07 ` hjl.tools at gmail dot com
@ 2013-01-18 20:53 ` gregnietsky at gmail dot com
  2014-02-22  8:39 ` ebotcazou at gcc dot gnu.org
                   ` (2 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: gregnietsky at gmail dot com @ 2013-01-18 20:53 UTC (permalink / raw)
  To: gcc-bugs


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

--- Comment #4 from Bill Gates <gregnietsky at gmail dot com> 2013-01-18 20:53:17 UTC ---
(In reply to comment #3)
> X32 isn't usable for Ada.  See PR 54040.

Thank you for the feedback besides building the tools i have not tested them ..
the second patch also includes the logic to allow building 64 multi lib on a
"native" x32 system.

ive only recently added ADA/Gnat to the tool chain and extended it to to x32 to
be complete ... thank you for the work done on x32 ill be using it as our
default distro replacing i686.

you may be interested in #56031 that allows target x86-64-linux-gnux32 setting
native to x32 without need for --with-abi / --enable-multilib / multilib-list


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

* [Bug ada/56030] Ada fails to build when targeting x32 non multilib
  2013-01-18 13:36 [Bug ada/56030] New: Ada fails to build when targeting x32 non multilib gregnietsky at gmail dot com
                   ` (3 preceding siblings ...)
  2013-01-18 20:53 ` gregnietsky at gmail dot com
@ 2014-02-22  8:39 ` ebotcazou at gcc dot gnu.org
  2024-03-20  6:36 ` pinskia at gcc dot gnu.org
  2024-03-20  6:37 ` pinskia at gcc dot gnu.org
  6 siblings, 0 replies; 8+ messages in thread
From: ebotcazou at gcc dot gnu.org @ 2014-02-22  8:39 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56030
Bug 56030 depends on bug 54040, which changed state.

Bug 54040 Summary: [x32] Incorrect timeval and timespec
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54040

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


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

* [Bug ada/56030] Ada fails to build when targeting x32 non multilib
  2013-01-18 13:36 [Bug ada/56030] New: Ada fails to build when targeting x32 non multilib gregnietsky at gmail dot com
                   ` (4 preceding siblings ...)
  2014-02-22  8:39 ` ebotcazou at gcc dot gnu.org
@ 2024-03-20  6:36 ` pinskia at gcc dot gnu.org
  2024-03-20  6:37 ` pinskia at gcc dot gnu.org
  6 siblings, 0 replies; 8+ messages in thread
From: pinskia at gcc dot gnu.org @ 2024-03-20  6:36 UTC (permalink / raw)
  To: gcc-bugs

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

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |4.8.0
         Resolution|---                         |FIXED
             Status|NEW                         |RESOLVED

--- Comment #5 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
r0-115451-g8b1106fbc36341

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

* [Bug ada/56030] Ada fails to build when targeting x32 non multilib
  2013-01-18 13:36 [Bug ada/56030] New: Ada fails to build when targeting x32 non multilib gregnietsky at gmail dot com
                   ` (5 preceding siblings ...)
  2024-03-20  6:36 ` pinskia at gcc dot gnu.org
@ 2024-03-20  6:37 ` pinskia at gcc dot gnu.org
  6 siblings, 0 replies; 8+ messages in thread
From: pinskia at gcc dot gnu.org @ 2024-03-20  6:37 UTC (permalink / raw)
  To: gcc-bugs

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

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|FIXED                       |DUPLICATE

--- Comment #6 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Actually dup.

*** This bug has been marked as a duplicate of bug 103538 ***

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

end of thread, other threads:[~2024-03-20  6:37 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-01-18 13:36 [Bug ada/56030] New: Ada fails to build when targeting x32 non multilib gregnietsky at gmail dot com
2013-01-18 14:57 ` [Bug ada/56030] " gregnietsky at gmail dot com
2013-01-18 18:23 ` gregnietsky at gmail dot com
2013-01-18 20:07 ` hjl.tools at gmail dot com
2013-01-18 20:53 ` gregnietsky at gmail dot com
2014-02-22  8:39 ` ebotcazou at gcc dot gnu.org
2024-03-20  6:36 ` pinskia at gcc dot gnu.org
2024-03-20  6:37 ` pinskia 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).