Menu

#1983 plm: Build failure with gcc 6.1.1 on 32-bit system

5.18.09
fixed
None
defect
plm
tests
major
False
2018-09-24
2016-08-29
No

PLM fails to bulild with gcc 6.1.1 on a 32-bit system:

make[3]: Entering directory '/home/opensaf/opensaf-staging/tests/plmsv/plms'
  CC       plmtest-test_saPlmEntityGroupAdd.o
test_saPlmEntityGroupAdd.c: In function 'saPlmEntityGroupAdd_05':
test_saPlmEntityGroupAdd.c:57:28: error: cast from pointer to integer of different size [-Werror=pointer-to-int-cast]
     rc=saPlmEntityGroupAdd((SaPlmEntityGroupHandleT)&entityGroupHandle, &f120_slot_1_dn , entityNamesNumber,SA_PLM_GROUP_SINGLE_ENTITY);
                            ^
cc1: all warnings being treated as errors
Makefile:638: recipe for target 'plmtest-test_saPlmEntityGroupAdd.o' failed

Related

Wiki: ChangeLog-5.18.09

Discussion

  • Anders Widell

    Anders Widell - 2016-08-30
    • Milestone: 5.1.FC --> 5.1.RC1
     
  • Anders Widell

    Anders Widell - 2016-09-13
    • Milestone: 5.1.RC1 --> 5.1.RC2
     
  • Anders Widell

    Anders Widell - 2016-09-20
    • Milestone: 5.1.RC2 --> 5.1.1
     
  • Anders Widell

    Anders Widell - 2017-04-03
    • Milestone: 5.1.1 --> future
     
  • MeenakshiTK

    MeenakshiTK - 2018-08-20
    • status: unassigned --> assigned
    • assigned_to: MeenakshiTK
    • Blocker: --> False
    • Milestone: future --> 5.18.08
     
  • MeenakshiTK

    MeenakshiTK - 2018-08-21
    • status: assigned --> review
     
  • MeenakshiTK

    MeenakshiTK - 2018-09-24
     
  • MeenakshiTK

    MeenakshiTK - 2018-09-24

    commit a317a7816612e58f56bd37d004e0c273deafd26d
    Author: Alex Jones ajones@rbbn.com
    Date: Thu Sep 6 09:56:22 2018 -0400

    plm: correct first arguement of API saPlmEntityGroupAdd() in apitest [#1983]
    
    plmtest doesn't compile in 32-bit environment.
    
     
  • MeenakshiTK

    MeenakshiTK - 2018-09-24
    • status: review --> fixed
     

Log in to post a comment.