gsrc-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gsrc-commit] trunk r6574: update gcc9snap to 9-20190525


From: Carl Hansen
Subject: [Gsrc-commit] trunk r6574: update gcc9snap to 9-20190525
Date: Fri, 31 May 2019 23:45:07 -0400 (EDT)
User-agent: Bazaar (2.7.0dev1)

------------------------------------------------------------
revno: 6574
revision-id: address@hidden
parent: address@hidden
committer: address@hidden
branch nick: trunk
timestamp: Fri 2019-05-31 20:45:03 -0700
message:
  update gcc9snap to 9-20190525
added:
  pkg/gnualpha/gcc9snap/         gcc9snap-20190601034442-z1ba96fwvbg1kiya-1
  pkg/gnualpha/gcc9snap/Makefile makefile-20190601034442-z1ba96fwvbg1kiya-3
  pkg/gnualpha/gcc9snap/config.mk config.mk-20190601034442-z1ba96fwvbg1kiya-2
  pkg/gnualpha/gcc9snap/sha256sums sha256sums-20190601034442-z1ba96fwvbg1kiya-4
  pkg/gnualpha/gcc9snap/tofix.unwind 
tofix.unwind-20190601034442-z1ba96fwvbg1kiya-5
=== added directory 'pkg/gnualpha/gcc9snap'
=== added file 'pkg/gnualpha/gcc9snap/Makefile'
--- a/pkg/gnualpha/gcc9snap/Makefile    1970-01-01 00:00:00 +0000
+++ b/pkg/gnualpha/gcc9snap/Makefile    2019-06-01 03:45:03 +0000
@@ -0,0 +1,208 @@
+# Copyright ©2019 Carl Hansen <address@hidden>
+#
+# This file is part of GSRC, the GNU Source Release Collection.
+# http://www.gnu.org/software/gsrc
+#
+# GSRC is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# GSRC is distributed in the hope that it will be useful, but WITHOUT
+# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
+# or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public
+# License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with GSRC.  If not, see <http://www.gnu.org/licenses/>.
+#
+#
+# Send bug reports and comments about GSRC problems to address@hidden
+
+NAME = The GNU Compiler Collection version 9snap
+GARNAME = gcc9snap
+UPSTREAMNAME = gcc
+GARVERSION = 9-20190525
+HOME_URL = http://www.gnu.org/software/gcc
+DESCRIPTION = GNU Compiler Collection 9 snapshot
+define BLURB
+GCC is the GNU Compiler Collection 9.  It provides compiler front-ends
+for several languages, including C, C++, Objective-C, Objective-C++, Fortran, 
+Ada, D, Brig, and Go.  It also includes runtime support libraries for these
+languages.
+endef
+
+# if downloading not working, look here:
+# ftp://gcc.gnu.org/pub/gcc/snapshots/
+
+
+######################################################################
+
+MASTER_SITES = ftp://gcc.gnu.org/
+MASTER_SUBDIR = pub/gcc/snapshots/$(GARVERSION)/
+#MASTER_SITES = $(MASTER_GNU)
+#MASTER_SUBDIR = $(GARNAME)/$(DISTNAME)/
+DISTNAME= $(UPSTREAMNAME)-$(GARVERSION)
+DISTFILES = $(DISTNAME).tar.xz 
+SIGFILES = 
+#sha512.sum
+
+WORKSRC = $(WORKDIR)/gcc-$(GARVERSION)
+WORKOBJ = $(WORKDIR)/gcc-$(GARVERSION).build
+
+#BUILD_SCRIPTS = compilers
+#links
+
+BUILDDEPS = gmp mpfr mpc zlib
+LIBDEPS = 
+INFO_FILES =  \
+       cpp.info  \
+       cppinternals.info  \
+       gccbrig.info  \
+       gccgo.info  \
+       gcc.info  \
+       gccinstall.info  \
+       gccint.info  \
+       gdc.info  \
+       gfc-internals.info  \
+       gfortran.info  \
+       gnat_rm.info  \
+       gnat-style.info  \
+       gnat_ugn.info     \
+       libgomp.info  \
+       libitm.info  \
+       libquadmath.info  
+
+
+
+#      libiberty.info  
+
+# BUG gccbrig.info gfc-internals.info not installing correctly yet
+#
+#
+
+######################################################################
+include ../../../gar/gar.lib/auto.mk
+include ../../../gar/gar.lib/info.mk
+include config.mk
+
+
+## Configuration options for gcc ##
+## Note: you must set up your environment (PATH, LDPATH, etc) to
+## include GSRC-installed packages in order to install gcc as
+## configured below. You can do this easily like so in Bash:
+## $ source $(your_gsrc_dir) setup.sh
+
+## adjust --enable-languages=   to your liking; this is maximal.
+## gnat (ada) is a special case;  requires a working ada compiler to
+## already be installed, the compiler you are using to compile the rest.
+
+# --enable-languages=c,c++,fortran,go,objc,obj-c++,ada,brig,d,jit  \
+
+# jit requires --enable-host-shared
+# --enable-host-shared typically slows the rest of the compiler down by
+# a few %, so you must explicitly enable it.
+
+# If you want to build both the jit and the regular compiler, it is often
+# best to do this via two separate configure/builds, in separate
+# directories, to avoid imposing the performance cost of
+# --enable-host-shared on the regular compiler.
+
+#--enable-cloog-backend=isl \
+
+# note: at end --target=x86_64-linux-gnu
+# Many options at just what Debian ships with;
+# adjust as necessary.
+
+CONFIGURE_ARGS = --program-suffix=-9 \
+--program-prefix=x86_64-linux-gnu-  \
+--with-gmp=$(prefix) \
+--with-mpfr=$(prefix) \
+--with-mpc=$(prefix) \
+--with-target-bdw-gc=$(prefix) \
+--enable-checking=release \
+--enable-clocale=gnu \
+--enable-__cxa_atexit \
+--enable-default-pie \
+--enable-gnu-unique-object \
+--enable-gtk-cairo \
+--enable-host-shared  \
+--enable-languages=c,c++,fortran,go,ada,brig,d,jit,objc,obj-c++ \
+--enable-libada \
+--enable-libmpx \
+--enable-libssp \
+--enable-libstdcxx-debug \
+--enable-libstdcxx-time=yes \
+--enable-linker-build-id \
+--enable-lto \
+--enable-multiarch \
+--enable-nls \
+--enable-objc-gc=auto \
+--enable-plugin \
+--enable-shared \
+--enable-threads=posix \
+--with-default-libstdcxx-abi=new \
+--libexecdir=$(prefix)/lib  \
+--libdir=$(prefix)/lib  \
+--with-abi=m64 \
+--enable-multilib  \
+--with-multilib-list=m64,m32,mx32 \
+--with-arch-32=i686  \
+--without-included-gettext  \
+--with-system-zlib \
+--with-target-system-zlib \
+--enable-offload-targets=nvptx-none  \
+--without-cuda-driver  \
+--with-tune=generic \
+--disable-vtable-verify  \
+--disable-werror  \
+--enable-bootstrap \
+--build=x86_64-linux-gnu \
+--host=x86_64-linux-gnu \
+--target=x86_64-linux-gnu \
+LIBS=-liconv
+
+
+# enable-bootstrap might not be necessary, but it solves some problems
+# of building when not using recent gcc to build.
+
+#CFLAGS+=-fno-split-stack  due to compile problems with gccgo
+#BUILD_ARGS?=  -Wall -Wextra  CFLAGS+=-fno-split-stack 
CPLUSFLAGS+=-fno-split-stack LIBS=-liconv
+
+BUILD_ARGS ?=  -Wall -Wextra -Wl,LIBS=-liconv
+
+#BUILD_ARGS ?= 
+
+######################################################################
+# adjust as necessary
+#LDFLAGS += -L/usr/lib/x86_64-linux-gnu
+#CPPFLAGS += -I/usr/include/x86_64-linux-gnu -I$(prefix)/include -isystem 
/usr/include/x86_64-linux-gnu
+#CFLAGS   += -I/usr/include/x86_64-linux-gnu -I$(prefix)/include -isystem 
/usr/include/x86_64-linux-gnu
+
+
+#cd $(WORKOBJ) && CFLAGS=-fno-split-stack $(MAKE) all
+#cd $(WORKOBJ)/libiberty/ $(MAKE)  info
+
+#post-build: build 
+#      make -C $(WORKOBJ)  V=1  bootstrap  
+#      $(MAKECOOKIE)
+
+#make -C $(WORKOBJ)  V=1 $(BUILD_OPTS) bootstrap  
+# slightly imperfect, but it worked .... sometimes
+# a work-around for error message...
+#post-build: build
+#      #CFLAGS=-fno-split-stack $(MAKE) -C $(WORKOBJ)/ all
+#      $(MAKECOOKIE)
+
+#install-links: build
+##     @ln -sf gcc-9 $(packageprefix)/bin/cc
+#      @ln -sf ../bin/cpp $(packageprefix)/lib/cpp
+#      $(MAKECOOKIE)
+#
+#      gccfixer.sh
+
+checkall: build
+       cd $(WORKOBJ); $(MAKE) -k check 
+       $(MAKECOOKIE)
+
+

=== added file 'pkg/gnualpha/gcc9snap/config.mk'
--- a/pkg/gnualpha/gcc9snap/config.mk   1970-01-01 00:00:00 +0000
+++ b/pkg/gnualpha/gcc9snap/config.mk   2019-06-01 03:45:03 +0000
@@ -0,0 +1,5 @@
+## Configuration options for gcc ##
+#  see also CONFIGURE_ARGS and BUILD_ARGS in Makefile
+# 
+CONFIGURE_OPTS += 
+BUILD_OPTS +=

=== added file 'pkg/gnualpha/gcc9snap/sha256sums'
--- a/pkg/gnualpha/gcc9snap/sha256sums  1970-01-01 00:00:00 +0000
+++ b/pkg/gnualpha/gcc9snap/sha256sums  2019-06-01 03:45:03 +0000
@@ -0,0 +1,1 @@
+c8ca2e2977692b62a116010c6469f52f70a45c428d52b73114a3c60a95df5c43  
download/gcc-9-20190525.tar.xz

=== added file 'pkg/gnualpha/gcc9snap/tofix.unwind'
--- a/pkg/gnualpha/gcc9snap/tofix.unwind        1970-01-01 00:00:00 +0000
+++ b/pkg/gnualpha/gcc9snap/tofix.unwind        2019-06-01 03:45:03 +0000
@@ -0,0 +1,9 @@
+ cp ./work/gcc-9-20190525.build/gcc/include/unwind.h 
./work/gcc-9-20190525/libstdc++-v3/libsupc++/
+ cp ./work/gcc-9-20190525.build/gcc/include/unwind.h 
./work/gcc-9-20190525/gcc/ada/
+ cp ./work/gcc-9-20190525.build/gcc/include/unwind.h 
./work/gcc-9-20190525/libgo/runtime/
+#cp ./work/gcc-9-20190525.build/gcc/include/unwind.h 
./work/gcc-9-20190525.build/gcc/ada/rts/
+#cp ./work/gcc-9-20190525.build/gcc/include/unwind.h 
./work/gcc-9-20190525.build/gcc/ada/rts_32/
+
+
+# during xgcc
+


reply via email to

[Prev in Thread] Current Thread [Next in Thread]