gm2
[Top][All Lists]
Advanced

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

Re: [Gm2] gm2 on gcc-5.2.0


From: Dragiša Durić
Subject: Re: [Gm2] gm2 on gcc-5.2.0
Date: Sun, 25 Dec 2016 09:17:00 +0100

Hi Gaius,

After getting your tarball and restarting combine-trees..configure..make I still see same situation and same errors as result. 4.7.4, and
In file included from ../../gcc-versionno/gcc/cp/except.c:990:0:
cfns.gperf: At top level:
cfns.gperf:101:1: error: ‘gnu_inline’ attribute present on ‘libc_name_p’
cfns.gperf:26:14: error: but not here

Question: Did your patches address this gnu_inline issue, ie is it expected to see this fixed? I think this patch is supposed to fix it:
diff --git a/gcc/cp/cfns.gperf b/gcc/cp/cfns.gperf
index 68acd3d..953262f 100644
--- a/gcc/cp/cfns.gperf
+++ b/gcc/cp/cfns.gperf
@@ -22,6 +22,9 @@ __inline
 static unsigned int hash (const char *, unsigned int);
 #ifdef __GNUC__
 __inline
+#ifdef __GNUC_STDC_INLINE__
+__attribute__ ((__gnu_inline__))
+#endif
 #endif
 const char * libc_name_p (const char *, unsigned int);
 %}
diff --git a/gcc/cp/cfns.h b/gcc/cp/cfns.h
index 1c6665d..6d00c0e 100644
--- a/gcc/cp/cfns.h
+++ b/gcc/cp/cfns.h
@@ -53,6 +53,9 @@ __inline
 static unsigned int hash (const char *, unsigned int);
 #ifdef __GNUC__
 __inline
+#ifdef __GNUC_STDC_INLINE__
+__attribute__ ((__gnu_inline__))
+#endif
 #endif
 const char * libc_name_p (const char *, unsigned int);
 /* maximum key range = 391, duplicates = 0 */

I will try this again later, with this patch included.

Regards,
Dragiša

--
Dragiša Durić

On 25 Dec 2016, at 01:15, Gaius Mulley <address@hidden> wrote:

Dragiša Durić <address@hidden> writes:

gcc_5.2.0_gm2 is current development branch. master branch changes are
in April, and gcc_5.2.0_gm2 - today.

Ok, I pull this, I switch to mentioned branch, then:

cd scratch/source/gm2
mkdir build
cd build
../gcc-versionno/configure --enable-languages=c,c++,gm2

make SHELL=/bin/bash
….
….
And then this:

In file included from ../../gcc-versionno/gcc/cp/except.c:990:0:
cfns.gperf: At top level:
cfns.gperf:101:1: error: ‘gnu_inline’ attribute present on
‘libc_name_p’
cfns.gperf:26:14: error: but not here

Some things are, I don’ know - unclear?

1. combine-trees pulls gcc-4.7.4
2. last lines of its execution mention lot of patches to gcc-4.7.4
3. again this failure (last console snippet)

Hi Dragiša,

ah thanks - yes I need to overhaul combine-trees and friends.
At present, every time I git commit a change a script on
floppsie.comp.glam.ac.uk will rebuild the tarballs for any branch
necessary.

You should be able to pull the changes from:

 git clone http://git.savannah.gnu.org/r/gm2.git

or alternatively download a tarball from

 http://floppsie.comp.glam.ac.uk/download/c/gcc-5.2.0+gm2-git-latest.tar.gz

regards,
Gaius

_______________________________________________
gm2 mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/gm2


reply via email to

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