public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug ada/103538] New: [12 Regression] trunk 20211203 fails to build gnat on x86_64-linux-gnux32
@ 2021-12-03 11:50 doko at debian dot org
  2021-12-06  8:18 ` [Bug ada/103538] " rguenth at gcc dot gnu.org
                   ` (13 more replies)
  0 siblings, 14 replies; 15+ messages in thread
From: doko at debian dot org @ 2021-12-03 11:50 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 103538
           Summary: [12 Regression] trunk 20211203 fails to build gnat on
                    x86_64-linux-gnux32
           Product: gcc
           Version: 12.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: ada
          Assignee: unassigned at gcc dot gnu.org
          Reporter: doko at debian dot org
  Target Milestone: ---

seen with trunk 20211203 building a cross compiler targeting
x86_64-linux-gnux32:

[...]
g-socket.adb:2858:26: error: value not in range of type "time_t" defined at
g-sothco.ads:47
g-socket.adb:2858:26: error: static expression fails Constraint_Check
g-socket.adb:2860:26: error: value not in range of type "time_t" defined at
g-sothco.ads:47
g-socket.adb:2860:26: error: static expression fails Constraint_Check
make[9]: *** [../gcc-interface/Makefile:300: g-socket.o] Error 1

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

* [Bug ada/103538] [12 Regression] trunk 20211203 fails to build gnat on x86_64-linux-gnux32
  2021-12-03 11:50 [Bug ada/103538] New: [12 Regression] trunk 20211203 fails to build gnat on x86_64-linux-gnux32 doko at debian dot org
@ 2021-12-06  8:18 ` rguenth at gcc dot gnu.org
  2022-01-07 23:27 ` ebotcazou at gcc dot gnu.org
                   ` (12 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: rguenth at gcc dot gnu.org @ 2021-12-06  8:18 UTC (permalink / raw)
  To: gcc-bugs

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

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |12.0

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

* [Bug ada/103538] [12 Regression] trunk 20211203 fails to build gnat on x86_64-linux-gnux32
  2021-12-03 11:50 [Bug ada/103538] New: [12 Regression] trunk 20211203 fails to build gnat on x86_64-linux-gnux32 doko at debian dot org
  2021-12-06  8:18 ` [Bug ada/103538] " rguenth at gcc dot gnu.org
@ 2022-01-07 23:27 ` ebotcazou at gcc dot gnu.org
  2022-01-18 21:37 ` hjl.tools at gmail dot com
                   ` (11 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: ebotcazou at gcc dot gnu.org @ 2022-01-07 23:27 UTC (permalink / raw)
  To: gcc-bugs

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

Eric Botcazou <ebotcazou at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ebotcazou at gcc dot gnu.org
             Status|UNCONFIRMED                 |WAITING
     Ever confirmed|0                           |1
   Last reconfirmed|                            |2022-01-07

--- Comment #1 from Eric Botcazou <ebotcazou at gcc dot gnu.org> ---
Do you have local patches for x32?

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

* [Bug ada/103538] [12 Regression] trunk 20211203 fails to build gnat on x86_64-linux-gnux32
  2021-12-03 11:50 [Bug ada/103538] New: [12 Regression] trunk 20211203 fails to build gnat on x86_64-linux-gnux32 doko at debian dot org
  2021-12-06  8:18 ` [Bug ada/103538] " rguenth at gcc dot gnu.org
  2022-01-07 23:27 ` ebotcazou at gcc dot gnu.org
@ 2022-01-18 21:37 ` hjl.tools at gmail dot com
  2022-01-18 23:20 ` hjl.tools at gmail dot com
                   ` (10 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: hjl.tools at gmail dot com @ 2022-01-18 21:37 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #2 from H.J. Lu <hjl.tools at gmail dot com> ---
Created attachment 52220
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=52220&action=edit
A patch to update x32 suport

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

* [Bug ada/103538] [12 Regression] trunk 20211203 fails to build gnat on x86_64-linux-gnux32
  2021-12-03 11:50 [Bug ada/103538] New: [12 Regression] trunk 20211203 fails to build gnat on x86_64-linux-gnux32 doko at debian dot org
                   ` (2 preceding siblings ...)
  2022-01-18 21:37 ` hjl.tools at gmail dot com
@ 2022-01-18 23:20 ` hjl.tools at gmail dot com
  2022-01-19  0:18 ` hjl.tools at gmail dot com
                   ` (9 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: hjl.tools at gmail dot com @ 2022-01-18 23:20 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #3 from H.J. Lu <hjl.tools at gmail dot com> ---
gcc-interface/Makefile.in has

ifeq ($(strip $(filter-out x86_64, $(target_cpu))),)
  ifeq ($(strip $(MULTISUBDIR)),/32)
    target_cpu:=i686
  else
    ifeq ($(strip $(MULTISUBDIR)),/x32)
      target_cpu:=x32
    endif
  endif
endif

It doesn't set the right target_cpu when -mx32 is the default with
x86_64-linux-gnux32.

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

* [Bug ada/103538] [12 Regression] trunk 20211203 fails to build gnat on x86_64-linux-gnux32
  2021-12-03 11:50 [Bug ada/103538] New: [12 Regression] trunk 20211203 fails to build gnat on x86_64-linux-gnux32 doko at debian dot org
                   ` (3 preceding siblings ...)
  2022-01-18 23:20 ` hjl.tools at gmail dot com
@ 2022-01-19  0:18 ` hjl.tools at gmail dot com
  2022-01-19  0:18 ` hjl.tools at gmail dot com
                   ` (8 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: hjl.tools at gmail dot com @ 2022-01-19  0:18 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #4 from H.J. Lu <hjl.tools at gmail dot com> ---
Created attachment 52222
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=52222&action=edit
A patch

Try this.

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

* [Bug ada/103538] [12 Regression] trunk 20211203 fails to build gnat on x86_64-linux-gnux32
  2021-12-03 11:50 [Bug ada/103538] New: [12 Regression] trunk 20211203 fails to build gnat on x86_64-linux-gnux32 doko at debian dot org
                   ` (4 preceding siblings ...)
  2022-01-19  0:18 ` hjl.tools at gmail dot com
@ 2022-01-19  0:18 ` hjl.tools at gmail dot com
  2022-01-19 12:40 ` cvs-commit at gcc dot gnu.org
                   ` (7 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: hjl.tools at gmail dot com @ 2022-01-19  0:18 UTC (permalink / raw)
  To: gcc-bugs

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|WAITING                     |NEW

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

* [Bug ada/103538] [12 Regression] trunk 20211203 fails to build gnat on x86_64-linux-gnux32
  2021-12-03 11:50 [Bug ada/103538] New: [12 Regression] trunk 20211203 fails to build gnat on x86_64-linux-gnux32 doko at debian dot org
                   ` (5 preceding siblings ...)
  2022-01-19  0:18 ` hjl.tools at gmail dot com
@ 2022-01-19 12:40 ` cvs-commit at gcc dot gnu.org
  2022-01-19 12:40 ` cvs-commit at gcc dot gnu.org
                   ` (6 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2022-01-19 12:40 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #5 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by H.J. Lu <hjl@gcc.gnu.org>:

https://gcc.gnu.org/g:9d6c63ba490ec92245f04b5cbafc56abd28e8d22

commit r12-6732-g9d6c63ba490ec92245f04b5cbafc56abd28e8d22
Author: H.J. Lu <hjl.tools@gmail.com>
Date:   Tue Jan 18 08:57:37 2022 -0800

    [Ada] Compile s-mmap and 128bit on x86_64-linux-gnux32

            PR ada/103538
            * Makefile.rtl (LIBGNAT_TARGET_PAIRS): Add
            $(TRASYM_DWARF_UNIX_PAIRS),
            s-tsmona.adb<libgnat/s-tsmona__linux.adb,
            $(GNATRTL_128BIT_PAIRS).
            (EXTRA_GNATRTL_NONTASKING_OBJS): Add $(TRASYM_DWARF_UNIX_OBJS)
            and $(GNATRTL_128BIT_OBJS).

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

* [Bug ada/103538] [12 Regression] trunk 20211203 fails to build gnat on x86_64-linux-gnux32
  2021-12-03 11:50 [Bug ada/103538] New: [12 Regression] trunk 20211203 fails to build gnat on x86_64-linux-gnux32 doko at debian dot org
                   ` (6 preceding siblings ...)
  2022-01-19 12:40 ` cvs-commit at gcc dot gnu.org
@ 2022-01-19 12:40 ` cvs-commit at gcc dot gnu.org
  2022-01-19 14:36 ` cvs-commit at gcc dot gnu.org
                   ` (5 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2022-01-19 12:40 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #6 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by H.J. Lu <hjl@gcc.gnu.org>:

https://gcc.gnu.org/g:2cef99175af1ad95283d4b35bced73c3a510f6d6

commit r12-6733-g2cef99175af1ad95283d4b35bced73c3a510f6d6
Author: H.J. Lu <hjl.tools@gmail.com>
Date:   Tue Jan 18 15:54:35 2022 -0800

    [Ada] Set target_cpu to x32 for x86_64-linux-gnux32

    Since the x86_64-linux-gnux32 compiler is actually an x32 compiler, set
    target_cpu to x32 for x86_64-linux-gnux32.

            PR ada/103538
            * gcc-interface/Makefile.in (target_cpu): Set to x32 for
            x86_64-linux-gnux32.

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

* [Bug ada/103538] [12 Regression] trunk 20211203 fails to build gnat on x86_64-linux-gnux32
  2021-12-03 11:50 [Bug ada/103538] New: [12 Regression] trunk 20211203 fails to build gnat on x86_64-linux-gnux32 doko at debian dot org
                   ` (7 preceding siblings ...)
  2022-01-19 12:40 ` cvs-commit at gcc dot gnu.org
@ 2022-01-19 14:36 ` cvs-commit at gcc dot gnu.org
  2022-01-19 14:36 ` cvs-commit at gcc dot gnu.org
                   ` (4 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2022-01-19 14:36 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #7 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The releases/gcc-11 branch has been updated by H.J. Lu <hjl@gcc.gnu.org>:

https://gcc.gnu.org/g:892c58d93110e1b30d7ebe93e704f318d16c34a3

commit r11-9480-g892c58d93110e1b30d7ebe93e704f318d16c34a3
Author: H.J. Lu <hjl.tools@gmail.com>
Date:   Tue Jan 18 08:57:37 2022 -0800

    [Ada] Compile s-mmap and 128bit on x86_64-linux-gnux32

            PR ada/103538
            * Makefile.rtl (LIBGNAT_TARGET_PAIRS): Add
            $(TRASYM_DWARF_UNIX_PAIRS),
            s-tsmona.adb<libgnat/s-tsmona__linux.adb,
            $(GNATRTL_128BIT_PAIRS).
            (EXTRA_GNATRTL_NONTASKING_OBJS): Add $(TRASYM_DWARF_UNIX_OBJS)
            and $(GNATRTL_128BIT_OBJS).

    (cherry picked from commit 9d6c63ba490ec92245f04b5cbafc56abd28e8d22)

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

* [Bug ada/103538] [12 Regression] trunk 20211203 fails to build gnat on x86_64-linux-gnux32
  2021-12-03 11:50 [Bug ada/103538] New: [12 Regression] trunk 20211203 fails to build gnat on x86_64-linux-gnux32 doko at debian dot org
                   ` (8 preceding siblings ...)
  2022-01-19 14:36 ` cvs-commit at gcc dot gnu.org
@ 2022-01-19 14:36 ` cvs-commit at gcc dot gnu.org
  2022-01-19 18:12 ` cvs-commit at gcc dot gnu.org
                   ` (3 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2022-01-19 14:36 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #8 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The releases/gcc-11 branch has been updated by H.J. Lu <hjl@gcc.gnu.org>:

https://gcc.gnu.org/g:1d3f5f5e52a123d7da96b659064fc2a4b8de5e64

commit r11-9481-g1d3f5f5e52a123d7da96b659064fc2a4b8de5e64
Author: H.J. Lu <hjl.tools@gmail.com>
Date:   Tue Jan 18 15:54:35 2022 -0800

    [Ada] Set target_cpu to x32 for x86_64-linux-gnux32

    Since the x86_64-linux-gnux32 compiler is actually an x32 compiler, set
    target_cpu to x32 for x86_64-linux-gnux32.

            PR ada/103538
            * gcc-interface/Makefile.in (target_cpu): Set to x32 for
            x86_64-linux-gnux32.

    (cherry picked from commit 2cef99175af1ad95283d4b35bced73c3a510f6d6)

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

* [Bug ada/103538] [12 Regression] trunk 20211203 fails to build gnat on x86_64-linux-gnux32
  2021-12-03 11:50 [Bug ada/103538] New: [12 Regression] trunk 20211203 fails to build gnat on x86_64-linux-gnux32 doko at debian dot org
                   ` (9 preceding siblings ...)
  2022-01-19 14:36 ` cvs-commit at gcc dot gnu.org
@ 2022-01-19 18:12 ` cvs-commit at gcc dot gnu.org
  2022-01-19 18:12 ` cvs-commit at gcc dot gnu.org
                   ` (2 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2022-01-19 18:12 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #9 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The releases/gcc-10 branch has been updated by H.J. Lu <hjl@gcc.gnu.org>:

https://gcc.gnu.org/g:e076d8f8153f4b9feb149f62292927ceffb8eeec

commit r10-10406-ge076d8f8153f4b9feb149f62292927ceffb8eeec
Author: H.J. Lu <hjl.tools@gmail.com>
Date:   Tue Jan 18 08:57:37 2022 -0800

    [Ada] Compile s-mmap and 128bit on x86_64-linux-gnux32

            PR ada/103538
            * Makefile.rtl (LIBGNAT_TARGET_PAIRS): Add
            $(TRASYM_DWARF_UNIX_PAIRS),
            s-tsmona.adb<libgnat/s-tsmona__linux.adb,
            $(GNATRTL_128BIT_PAIRS).
            (EXTRA_GNATRTL_NONTASKING_OBJS): Add $(TRASYM_DWARF_UNIX_OBJS)
            and $(GNATRTL_128BIT_OBJS).

    (cherry picked from commit 9d6c63ba490ec92245f04b5cbafc56abd28e8d22)

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

* [Bug ada/103538] [12 Regression] trunk 20211203 fails to build gnat on x86_64-linux-gnux32
  2021-12-03 11:50 [Bug ada/103538] New: [12 Regression] trunk 20211203 fails to build gnat on x86_64-linux-gnux32 doko at debian dot org
                   ` (10 preceding siblings ...)
  2022-01-19 18:12 ` cvs-commit at gcc dot gnu.org
@ 2022-01-19 18:12 ` cvs-commit at gcc dot gnu.org
  2022-01-19 18:19 ` hjl.tools at gmail dot com
  2024-03-20  6:37 ` pinskia at gcc dot gnu.org
  13 siblings, 0 replies; 15+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2022-01-19 18:12 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #10 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The releases/gcc-10 branch has been updated by H.J. Lu <hjl@gcc.gnu.org>:

https://gcc.gnu.org/g:9e76f4d32f00633bc0e1e51c20f685d58ae8a74f

commit r10-10407-g9e76f4d32f00633bc0e1e51c20f685d58ae8a74f
Author: H.J. Lu <hjl.tools@gmail.com>
Date:   Tue Jan 18 15:54:35 2022 -0800

    [Ada] Set target_cpu to x32 for x86_64-linux-gnux32

    Since the x86_64-linux-gnux32 compiler is actually an x32 compiler, set
    target_cpu to x32 for x86_64-linux-gnux32.

            PR ada/103538
            * gcc-interface/Makefile.in (target_cpu): Set to x32 for
            x86_64-linux-gnux32.

    (cherry picked from commit 2cef99175af1ad95283d4b35bced73c3a510f6d6)

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

* [Bug ada/103538] [12 Regression] trunk 20211203 fails to build gnat on x86_64-linux-gnux32
  2021-12-03 11:50 [Bug ada/103538] New: [12 Regression] trunk 20211203 fails to build gnat on x86_64-linux-gnux32 doko at debian dot org
                   ` (11 preceding siblings ...)
  2022-01-19 18:12 ` cvs-commit at gcc dot gnu.org
@ 2022-01-19 18:19 ` hjl.tools at gmail dot com
  2024-03-20  6:37 ` pinskia at gcc dot gnu.org
  13 siblings, 0 replies; 15+ messages in thread
From: hjl.tools at gmail dot com @ 2022-01-19 18:19 UTC (permalink / raw)
  To: gcc-bugs

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

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

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

--- Comment #11 from H.J. Lu <hjl.tools at gmail dot com> ---
Fixed for GCC 12, 11.3 and 10.4.

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

* [Bug ada/103538] [12 Regression] trunk 20211203 fails to build gnat on x86_64-linux-gnux32
  2021-12-03 11:50 [Bug ada/103538] New: [12 Regression] trunk 20211203 fails to build gnat on x86_64-linux-gnux32 doko at debian dot org
                   ` (12 preceding siblings ...)
  2022-01-19 18:19 ` hjl.tools at gmail dot com
@ 2024-03-20  6:37 ` pinskia at gcc dot gnu.org
  13 siblings, 0 replies; 15+ 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=103538

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |gregnietsky at gmail dot com

--- Comment #12 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
*** Bug 56030 has been marked as a duplicate of this bug. ***

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

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

Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-12-03 11:50 [Bug ada/103538] New: [12 Regression] trunk 20211203 fails to build gnat on x86_64-linux-gnux32 doko at debian dot org
2021-12-06  8:18 ` [Bug ada/103538] " rguenth at gcc dot gnu.org
2022-01-07 23:27 ` ebotcazou at gcc dot gnu.org
2022-01-18 21:37 ` hjl.tools at gmail dot com
2022-01-18 23:20 ` hjl.tools at gmail dot com
2022-01-19  0:18 ` hjl.tools at gmail dot com
2022-01-19  0:18 ` hjl.tools at gmail dot com
2022-01-19 12:40 ` cvs-commit at gcc dot gnu.org
2022-01-19 12:40 ` cvs-commit at gcc dot gnu.org
2022-01-19 14:36 ` cvs-commit at gcc dot gnu.org
2022-01-19 14:36 ` cvs-commit at gcc dot gnu.org
2022-01-19 18:12 ` cvs-commit at gcc dot gnu.org
2022-01-19 18:12 ` cvs-commit at gcc dot gnu.org
2022-01-19 18:19 ` hjl.tools at gmail dot com
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).