This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [gofrontend-dev] [PATCH 4/9] Gccgo port to s390[x] -- part I


On Fri, Oct 03, 2014 at 06:19:46PM -0700, Ian Lance Taylor wrote:
> On Tue, Sep 9, 2014 at 5:53 AM, Dominik Vogt <vogt@linux.vnet.ibm.com> wrote:
> > This patch fixes the compiler flags in libgo/mksysinfo.sh.  In one
> > place, some compiler flags were missing that are consistently used
> > elswhere, resulting in an error message.
> >
> > ChangeLog
> > 2014-09-05  Dominik Vogt  <vogt@linux.vnet.ibm.com>
> >
> >         * libgo/mksysinfo.sh (OUT):
> >         Add the same compile flags that configure uses to detect whether off64_t
> >         is present or not when generating the go structures for the C types.
> >         Otherwise the go type for off64_t may not be generated.
> 
> I don't understand why this patch is necessary.  The invocation of
> mksysinfo in libgo/Makefile.am sets the CC environment variable to
> include $(OSCFLAGS), and OSCFLAGS should include those three options.
> 
> Trying to list the flags separately in mksysinfo.sh is going to be
> incomplete on some systems--see OSCFLAGS in libgo/configure.ac.

With gcc-4.8 compilation failed on s390 (i.e. 31 bit) without it.
It seems that this patch is no longer necessary with gcc-5.0, so
it can be dropped.

Ciao

Dominik ^_^  ^_^

-- 

Dominik Vogt
IBM Germany


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]