[gcc(refs/users/marxin/heads/marxin-gcc-benchmark-branch)] IBM Z: zTPF: Include glibc-stdint.h to get __UINTPTR_TYPE__ defined

Martin Liska marxin@gcc.gnu.org
Mon Mar 30 10:36:12 GMT 2020


https://gcc.gnu.org/g:48c16b2867917883b1efc0cb7d9142c833fb5ec4

commit 48c16b2867917883b1efc0cb7d9142c833fb5ec4
Author: Andreas Krebbel <krebbel@linux.ibm.com>
Date:   Wed Mar 4 13:29:39 2020 +0100

    IBM Z: zTPF: Include glibc-stdint.h to get __UINTPTR_TYPE__ defined
    
    Building a zTPF cross currently fails when building libstdc++
    complaining about the __UINTPTR_TYPE__ to be missing.
    
    Fixed by including the glibc-stdint.h header.
    
    2020-03-04  Andreas Krebbel  <krebbel@linux.ibm.com>
    
            * config.gcc: Include the glibc-stdint.h header for zTPF.

Diff:
---
 gcc/config.gcc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gcc/config.gcc b/gcc/config.gcc
index ae5a845fcce..2df4b36d190 100644
--- a/gcc/config.gcc
+++ b/gcc/config.gcc
@@ -3104,7 +3104,7 @@ s390x-*-linux*)
 	tmake_file="${tmake_file} s390/t-linux64 s390/t-s390"
 	;;
 s390x-ibm-tpf*)
-	tm_file="s390/s390x.h s390/s390.h dbxelf.h elfos.h s390/tpf.h"
+	tm_file="s390/s390x.h s390/s390.h dbxelf.h elfos.h glibc-stdint.h s390/tpf.h"
 	tm_p_file=s390/s390-protos.h
 	c_target_objs="${c_target_objs} s390-c.o"
 	cxx_target_objs="${cxx_target_objs} s390-c.o"


More information about the Gcc-cvs mailing list