]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
add glibc-stdint.h to vax and lm32 linux target (PR target/105525)
authorMikael Pettersson <mikpelinux@gmail.com>
Sat, 29 Apr 2023 16:56:54 +0000 (10:56 -0600)
committerJeff Law <jlaw@ventanamicro>
Sat, 29 Apr 2023 16:56:54 +0000 (10:56 -0600)
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.

gcc/config.gcc

index 6fd1594480a1d2054f499573b498781dfafd1d93..671c7e3b018ca95107634d33ea457cad4be1d220 100644 (file)
@@ -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*)