From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 2119) id 19C1A3858C50; Sat, 29 Apr 2023 16:58:05 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 19C1A3858C50 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1682787485; bh=Ae3//6EeTC7dXui+Duk7ZgAnsuiYOU/TkDWsnj6S+vM=; h=From:To:Subject:Date:From; b=sSTpaCkz3b5Xs/Ypo+MgdtjpETNcLPD+AtyHUgytTf9pic0SbVGfSwW+BKGXnqHto 3Ah9NjsDrJit762SYdr4pSqz8ssDztTxTTs1N9krJ0sEJ5VtGQxEaiCrMbzwR6rwWa GgwjrCzH2QsXer5xxhHy93j+vXtgFCB8ZXYA7JCI= MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="utf-8" From: Jeff Law To: gcc-cvs@gcc.gnu.org Subject: [gcc r14-348] add glibc-stdint.h to vax and lm32 linux target (PR target/105525) X-Act-Checkin: gcc X-Git-Author: Mikael Pettersson X-Git-Refname: refs/heads/master X-Git-Oldrev: ef6c3095aabe75af727a269d91d9ffa37f982ace X-Git-Newrev: 83c78cb0d78fffa8791f64ba36146d17c00c1b23 Message-Id: <20230429165805.19C1A3858C50@sourceware.org> Date: Sat, 29 Apr 2023 16:58:05 +0000 (GMT) List-Id: https://gcc.gnu.org/g:83c78cb0d78fffa8791f64ba36146d17c00c1b23 commit r14-348-g83c78cb0d78fffa8791f64ba36146d17c00c1b23 Author: Mikael Pettersson Date: Sat Apr 29 10:56:54 2023 -0600 add glibc-stdint.h to vax and lm32 linux target (PR target/105525) PR target/105525 is a build regression for the vax and lm32 linux targets present in gcc-12/13/head, where the builds fail due to unsatisfied references to __INTPTR_TYPE__ and __UINTPTR_TYPE__, caused by these two targets failing to provide glibc-stdint.h. Fixed thusly, tested by building crosses, which now succeeds. Ok for trunk? (Note I don't have commit rights.) PR target/105525 gcc/ * config.gcc (vax-*-linux*): Add glibc-stdint.h. (lm32-*-uclinux*): Likewise. Diff: --- gcc/config.gcc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gcc/config.gcc b/gcc/config.gcc index 6fd1594480a..671c7e3b018 100644 --- a/gcc/config.gcc +++ b/gcc/config.gcc @@ -2287,7 +2287,7 @@ lm32-*-rtems*) tmake_file="${tmake_file} lm32/t-rtems" ;; lm32-*-uclinux*) - tm_file="elfos.h ${tm_file} gnu-user.h linux.h lm32/uclinux-elf.h" + tm_file="elfos.h ${tm_file} gnu-user.h linux.h glibc-stdint.h lm32/uclinux-elf.h" tmake_file="${tmake_file} lm32/t-lm32" ;; m32r-*-elf*) @@ -3488,7 +3488,7 @@ v850*-*-*) use_gcc_stdint=wrap ;; vax-*-linux*) - tm_file="${tm_file} elfos.h gnu-user.h linux.h vax/elf.h vax/linux.h" + tm_file="${tm_file} elfos.h gnu-user.h linux.h glibc-stdint.h vax/elf.h vax/linux.h" extra_options="${extra_options} vax/elf.opt" ;; vax-*-netbsdelf*)