[ewg] duplicate member error when building infinipath-psm-3.1-364.1140

Jack Hill jackhill at unc.edu
Mon Apr 29 09:22:44 PDT 2013


Good day,

When compiling infinipath-psm with gcc versions >=4.6 it fails to build 
with the following error, "ptl_ips/ips_proto_header.h:81:12: error: 
duplicate member ‘dst_subcontext’". The fact that this worked before 
appears to be have been a bug in gcc [0], which is now fixed. I believe 
that the proper fix is removing the dst_subcontext definition from one of 
the structs, but am not sure which one.

I could not find the infinipath-psm repository on git.openfabrics.org. 
Where can I find it?

Also, in order to (try to) build infinipath-psm, I had to remove -Werror 
from BASECFLAGS in buildflags.mak. I subscribe to the philosophy that 
-Werror is a development tool and should not be used by default in the 
distributed sources [1].

Best,
Jack

[0] http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47376
[1] 
http://blog.flameeyes.eu/2009/02/future-proof-your-code-dont-use-werror


More information about the ewg mailing list