Hi

Have you tried a later version of OpenSAF? Issues with using gcc8 were fixed in 
5.19.03.

https://sourceforge.net/p/opensaf/tickets/2999/

Gary
________________________________
From: Carroll, James R <james.r.carr...@lmco.com>
Sent: 13 December 2019 07:38
To: opensaf-users@lists.sourceforge.net <opensaf-users@lists.sourceforge.net>
Cc: Mauger Jr, John E <john.e.mauger...@lmco.com>; Colucci, Marc A 
<marc.a.colu...@lmco.com>
Subject: [users] issues Building OpenSAF on Redhat 7

Hi All,

We are currently using OpenSAF 5.2.0 in a 32-bit Redhawk 6.5 OS environment.

We are trying to step up the OS to Redhat 7, and have encountered the following 
anomalies when trying to build OpenSAF 5.2.0:

  1.  First, we have been successful in doing the following:
     *   Compile 64-bit Opensaf, for Redhat 7, on 64-bit platform, using 
gcc4.9.2
  2.  However, we have NOT had success with the following:
     *   Compile 64-bit Opensaf, for Redhat 7, on 64-bit platform, using gcc8.x 
- we are getting Actual Compiler ERRORS  (not WARNINGS) generated, which 
prevents us from a clean compile
  3.  Based on the success of Number 1 above, we are also trying to compile for 
32-bit, but have the following issues:
     *   Compile 32-bit Opensaf, for Redhat 7, on 64-bit platform, using 
gcc4.9.2 - has been inconsistent - we can NOT get it to run.

                                               i.     We are using the compiler 
option -m32.  Sometimes, it will compile cleanly, other times, it errors out.

                                              ii.     There seems to be some 
type of hardcoded dependency on /lib/.lib/xxxcore.so (xxx represents the 
opensaf name).  Even when we override the LD_LIBRARY_PATH, and do an ldd 
command, it stills seems to look into this hardcoded path (/lib/.lib).

     *   Compile 32-bit Opensaf, for Redhat 7, on 64-bit platform, using gcc8.x 
(refer to #2 above)

Has anyone else had success with OpenSAF on Redhat 7, using gcc8.x?  Or with 
32-bit OpenSAF on Redhat 7?  Maybe there are additional flags what we should be 
using?    If anyone has any recommendations on how to resolve the gcc8.x 
Compile ERRORS, or the 32-bit compile issues, that would be greatly appreciated.

Thanks.

Jim


_______________________________________________
Opensaf-users mailing list
Opensaf-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/opensaf-users

_______________________________________________
Opensaf-users mailing list
Opensaf-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/opensaf-users

Reply via email to