[ewg] duplicate member error when building infinipath-psm-3.1-364.1140
Jack Hill
jackhill at unc.edu
Mon Apr 29 17:06:50 PDT 2013
On Mon, 29 Apr 2013 22:21:12 +0000
"Elken, Tom" <tom.elken at intel.com> wrote:
> > 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’".
> [Tom]
> Thanks for pointing this out.
> A PSM developer tells me that you can remove that line 81 from
> source, and re-compile.
>
> Can you file a Bug on this at the Open Fabrics Bugzilla?
> Product: Open Fabrics Linux
> Component: QIB driver ( I see that there is no PSM component;
> I'll try to get that fixed)
Thanks for the suggestion. I tried it and it solved the error. The bug
is <http://bugs.openfabrics.org/show_bug.cgi?id=2430>.
> > I could not find the infinipath-psm repository on
> > git.openfabrics.org. Where can I find it?
> [Tom]
> git://github.com/01org/psm
Thank you.
> >
> > 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].
> [Tom]
> We don't subscribe to that philosophy. :)
> The fact that the code should compile warning free is part of our
> assurance of quality. If a user is encountering a warning we didn't,
> we don't want that to be a silent event. If the user wants to press
> on and ignore an error, they can remove the -Werror flag.
After making the above change I turned -Werror back on and did not
experience any warnings with both GCC 4.6 and 4.8.
Best,
Jack
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: not available
URL: <http://lists.openfabrics.org/pipermail/ewg/attachments/20130429/3664987a/attachment.sig>
More information about the ewg
mailing list