Menu

#758 opensaf 4.4.x latest staging does not compile for 32bit

4.4.RC1
fixed
None
defect
osaf
-
4.4.FC
major
2014-02-07
2014-01-31
No

This issue is seen on cs 4871

make rpm fails with below error:

libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../../../.. -DIMMA_OM -I../../../../../osaf/libs/saf/include -I../../../../../osaf/libs/core/include -I../../../../../osaf/libs/core/leap/include -I../../../../../osaf/libs/core/mds/include -I../../../../../osaf/libs/core/common/include -I../../../../../osaf/libs/common/immsv/include -g -Wall -fno-strict-aliasing -Werror -fPIC -D_FORTIFY_SOURCE=2 -fstack-protector -DINTERNAL_VERSION_ID=\"\" -O2 -g -m32 -march=i586 -mtune=i686 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -MT libimmaOm_la-imma_om_api.lo -MD -MP -MF .deps/libimmaOm_la-imma_om_api.Tpo -c imma_om_api.c -fPIC -DPIC -o .libs/libimmaOm_la-imma_om_api.o
cc1: warnings being treated as errors
imma_om_api.c: In function ‘saImmOmSearchInitialize_2’:
imma_om_api.c:6030: error: integer constant is too large for ‘long’ type
make[7]: *** [libimmaOm_la-imma_om_api.lo] Error 1
make[7]: Leaving directory /home/incrementaldropstaging/rpms/BUILD/opensaf-4.4.FC/osaf/libs/agents/saf/imma' make[6]: *** [all-recursive] Error 1 make[6]: Leaving directory/home/incrementaldropstaging/rpms/BUILD/opensaf-4.4.FC/osaf/libs/agents/saf'
make[5]: *** [all-recursive] Error 1
make[5]: Leaving directory /home/incrementaldropstaging/rpms/BUILD/opensaf-4.4.FC/osaf/libs/agents' make[4]: *** [all-recursive] Error 1 make[4]: Leaving directory/home/incrementaldropstaging/rpms/BUILD/opensaf-4.4.FC/osaf/libs'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory /home/incrementaldropstaging/rpms/BUILD/opensaf-4.4.FC/osaf' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory/home/incrementaldropstaging/rpms/BUILD/opensaf-4.4.FC'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/incrementaldropstaging/rpms/BUILD/opensaf-4.4.FC'
error: Bad exit status from /home/incrementaldropstaging/rpms/tmp/rpm-tmp.89674 (%build)

RPM build errors:
Bad exit status from /home/incrementaldropstaging/rpms/tmp/rpm-tmp.89674 (%build)

gcc -v

Using built-in specs.
Target: i586-suse-linux
Configured with: ../configure --prefix=/usr --infodir=/usr/share/info --mandir=/usr/share/man --libdir=/usr/lib --libexecdir=/usr/lib --enable-languages=c,c++,objc,fortran,obj-c++,java,ada --enable-checking=release --with-gxx-include-dir=/usr/include/c++/4.3 --enable-ssp --disable-libssp --with-bugurl=http://bugs.opensuse.org/ --with-pkgversion='SUSE Linux' --disable-libgcj --disable-libmudflap --with-slibdir=/lib --with-system-zlib --enable-__cxa_atexit --enable-libstdcxx-allocator=new --disable-libstdcxx-pch --enable-version-specific-runtime-libs --program-suffix=-4.3 --enable-linux-futex --without-system-libunwind --with-cpu=generic --build=i586-suse-linux
Thread model: posix
gcc version 4.3.4 [gcc-4_3-branch revision 152973] (SUSE Linux)


CC ntftest-tet_saNtfNotificationSubscribe.o
cc1: warnings being treated as errors
tet_saNtfNotificationSubscribe.c: In function ‘saNtfNotificationSubscribe_03’:
tet_saNtfNotificationSubscribe.c:94: error: cast from pointer to integer of different size
tet_saNtfNotificationSubscribe.c:95: error: cast from pointer to integer of different size
tet_saNtfNotificationSubscribe.c:96: error: cast from pointer to integer of different size
tet_saNtfNotificationSubscribe.c:97: error: cast from pointer to integer of different size
tet_saNtfNotificationSubscribe.c:98: error: cast from pointer to integer of different size
make[2]: *** [ntftest-tet_saNtfNotificationSubscribe.o] Error 1
make[2]: Leaving directory /home/emilzor/development/opensaf-4.4-i386/tests/ntfsv' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory/home/emilzor/development/opensaf-4.4-i386'
make: *** [all] Error 2


CC clmtest-tet_saClmClusterNodeGet.o
cc1: warnings being treated as errors
../../tests/clmsv/src/tet_saClmClusterNodeGet.c:23: error: integer constant is too large for ‘long’ type
make[2]: *** [clmtest-tet_saClmClusterNodeGet.o] Error 1
make[2]: Leaving directory /home/emilzor/development/opensaf-4.4-i386/tests/clmsv' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory/home/emilzor/development/opensaf-4.4-i386'
make: *** [all] Error 2

Related

Tickets: #758

Discussion

  • Anders Bjornerstedt

    Ok this build problem was introduced in the NO_DANGLING patches for imma_om.

    changeset: 4745:02c7afbe27c0
    user: Zoran Milinkovic zoran.milinkovic@ericsson.com
    date: Wed Dec 18 15:34:24 2013 +0100
    summary: IMM: Add support for searching NO_DANGLING references on an
    object to API [#50]

    changeset: 4734:bbb2c89c1361
    user: Zoran Milinkovic zoran.milinkovic@ericsson.com
    date: Sun Dec 15 16:42:12 2013 +0100
    summary: IMM: Add support for NO_DANGLING flag to API [#49]

    Will re-open #50

    /AndersBj

    Sirisha Alla wrote:


    ** [tickets:#758] opensaf 4.4.x latest staging does not compile for 32bit**

    Status: unassigned
    Created: Fri Jan 31, 2014 06:50 AM UTC by Sirisha Alla
    Last Updated: Fri Jan 31, 2014 06:50 AM UTC
    Owner: nobody

    This issue is seen on cs 4871

    make rpm fails with below error:

    libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../../../.. -DIMMA_OM -I../../../../../osaf/libs/saf/include -I../../../../../osaf/libs/core/include -I../../../../../osaf/libs/core/leap/include -I../../../../../osaf/libs/core/mds/include -I../../../../../osaf/libs/core/common/include -I../../../../../osaf/libs/common/immsv/include -g -Wall -fno-strict-aliasing -Werror -fPIC -D_FORTIFY_SOURCE=2 -fstack-protector -DINTERNAL_VERSION_ID=\"\" -O2 -g -m32 -march=i586 -mtune=i686 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -MT libimmaOm_la-imma_om_api.lo -MD -MP -MF .deps/libimmaOm_la-imma_om_api.Tpo -c imma_om_api.c -fPIC -DPIC -o .libs/libimmaOm_la-imma_om_api.o
    cc1: warnings being treated as errors
    imma_om_api.c: In function ‘saImmOmSearchInitialize_2’:
    imma_om_api.c:6030: error: integer constant is too large for ‘long’ type
    make[7]: *** [libimmaOm_la-imma_om_api.lo] Error 1
    make[7]: Leaving directory /home/incrementaldropstaging/rpms/BUILD/opensaf-4.4.FC/osaf/libs/agents/saf/imma' make[6]: *** [all-recursive] Error 1 make[6]: Leaving directory/home/incrementaldropstaging/rpms/BUILD/opensaf-4.4.FC/osaf/libs/agents/saf'
    make[5]: *** [all-recursive] Error 1
    make[5]: Leaving directory /home/incrementaldropstaging/rpms/BUILD/opensaf-4.4.FC/osaf/libs/agents' make[4]: *** [all-recursive] Error 1 make[4]: Leaving directory/home/incrementaldropstaging/rpms/BUILD/opensaf-4.4.FC/osaf/libs'
    make[3]: *** [all-recursive] Error 1
    make[3]: Leaving directory /home/incrementaldropstaging/rpms/BUILD/opensaf-4.4.FC/osaf' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory/home/incrementaldropstaging/rpms/BUILD/opensaf-4.4.FC'
    make[1]: *** [all] Error 2
    make[1]: Leaving directory `/home/incrementaldropstaging/rpms/BUILD/opensaf-4.4.FC'
    error: Bad exit status from /home/incrementaldropstaging/rpms/tmp/rpm-tmp.89674 (%build)

    RPM build errors:
    Bad exit status from /home/incrementaldropstaging/rpms/tmp/rpm-tmp.89674 (%build)

    gcc -v

    Using built-in specs.
    Target: i586-suse-linux
    Configured with: ../configure --prefix=/usr --infodir=/usr/share/info --mandir=/usr/share/man --libdir=/usr/lib --libexecdir=/usr/lib --enable-languages=c,c++,objc,fortran,obj-c++,java,ada --enable-checking=release --with-gxx-include-dir=/usr/include/c++/4.3 --enable-ssp --disable-libssp --with-bugurl=http://bugs.opensuse.org/ --with-pkgversion='SUSE Linux' --disable-libgcj --disable-libmudflap --with-slibdir=/lib --with-system-zlib --enable-__cxa_atexit --enable-libstdcxx-allocator=new --disable-libstdcxx-pch --enable-version-specific-runtime-libs --program-suffix=-4.3 --enable-linux-futex --without-system-libunwind --with-cpu=generic --build=i586-suse-linux
    Thread model: posix
    gcc version 4.3.4 [gcc-4_3-branch revision 152973] (SUSE Linux)


    Sent from sourceforge.net because opensaf-tickets@lists.sourceforge.net is subscribed to https://sourceforge.net/p/opensaf/tickets/

    To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/opensaf/admin/tickets/options. Or, if this is a mailing list, you can unsubscribe from the mailing list.


    WatchGuard Dimension instantly turns raw network data into actionable
    security intelligence. It gives you real-time visual feedback on key
    security issues and trends. Skip the complicated setup - simply import
    a virtual appliance and go from zero to informed in seconds.
    http://pubads.g.doubleclick.net/gampad/clk?id=123612991&iu=/4140/ostg.clktrk



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

     

    Related

    Tickets: #49
    Tickets: #50
    Tickets: #758

  • Anders Bjornerstedt

    • status: unassigned --> assigned
    • assigned_to: Zoran Milinkovic
     
  • Zoran Milinkovic

    • Description has changed:

    Diff:

    --- old
    +++ new
    @@ -34,3 +34,30 @@
     Configured with: ../configure --prefix=/usr --infodir=/usr/share/info --mandir=/usr/share/man --libdir=/usr/lib --libexecdir=/usr/lib --enable-languages=c,c++,objc,fortran,obj-c++,java,ada --enable-checking=release --with-gxx-include-dir=/usr/include/c++/4.3 --enable-ssp --disable-libssp --with-bugurl=http://bugs.opensuse.org/ --with-pkgversion='SUSE Linux' --disable-libgcj --disable-libmudflap --with-slibdir=/lib --with-system-zlib --enable-__cxa_atexit --enable-libstdcxx-allocator=new --disable-libstdcxx-pch --enable-version-specific-runtime-libs --program-suffix=-4.3 --enable-linux-futex --without-system-libunwind --with-cpu=generic --build=i586-suse-linux
     Thread model: posix
     gcc version 4.3.4 [gcc-4_3-branch revision 152973] (SUSE Linux) 
    +
    +-----
    +
    +  CC     ntftest-tet_saNtfNotificationSubscribe.o
    +cc1: warnings being treated as errors
    +tet_saNtfNotificationSubscribe.c: In function ‘saNtfNotificationSubscribe_03’:
    +tet_saNtfNotificationSubscribe.c:94: error: cast from pointer to integer of different size
    +tet_saNtfNotificationSubscribe.c:95: error: cast from pointer to integer of different size
    +tet_saNtfNotificationSubscribe.c:96: error: cast from pointer to integer of different size
    +tet_saNtfNotificationSubscribe.c:97: error: cast from pointer to integer of different size
    +tet_saNtfNotificationSubscribe.c:98: error: cast from pointer to integer of different size
    +make[2]: *** [ntftest-tet_saNtfNotificationSubscribe.o] Error 1
    +make[2]: Leaving directory `/home/emilzor/development/opensaf-4.4-i386/tests/ntfsv'
    +make[1]: *** [all-recursive] Error 1
    +make[1]: Leaving directory `/home/emilzor/development/opensaf-4.4-i386'
    +make: *** [all] Error 2
    +
    +-----
    +
    +  CC     clmtest-tet_saClmClusterNodeGet.o
    +cc1: warnings being treated as errors
    +../../tests/clmsv/src/tet_saClmClusterNodeGet.c:23: error: integer constant is too large for ‘long’ type
    +make[2]: *** [clmtest-tet_saClmClusterNodeGet.o] Error 1
    +make[2]: Leaving directory `/home/emilzor/development/opensaf-4.4-i386/tests/clmsv'
    +make[1]: *** [all-recursive] Error 1
    +make[1]: Leaving directory `/home/emilzor/development/opensaf-4.4-i386'
    +make: *** [all] Error 2
    
    • status: assigned --> accepted
    • Component: imm --> osaf
    • Milestone: future --> 4.4.RC1
     
  • Zoran Milinkovic

    • status: accepted --> review
     
  • Mathi Naickan

    Mathi Naickan - 2014-02-07
    • Milestone: 4.4.RC1 --> 4.4.RC2
     
    • Anders Bjornerstedt

      This one is on review.


      From: Mathi Naickan [mailto:mathi-naickan@users.sf.net]
      Sent: den 7 februari 2014 17:26
      To: [opensaf:tickets]
      Subject: [opensaf:tickets] #758 opensaf 4.4.x latest staging does not compile for 32bit

      • Milestone: 4.4.RC1 --> 4.4.RC2

      [tickets:#758] opensaf 4.4.x latest staging does not compile for 32bit

      Status: review
      Created: Fri Jan 31, 2014 06:50 AM UTC by Sirisha Alla
      Last Updated: Mon Feb 03, 2014 01:34 PM UTC
      Owner: Zoran Milinkovic

      This issue is seen on cs 4871

      make rpm fails with below error:

      libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../../../.. -DIMMA_OM -I../../../../../osaf/libs/saf/include -I../../../../../osaf/libs/core/include -I../../../../../osaf/libs/core/leap/include -I../../../../../osaf/libs/core/mds/include -I../../../../../osaf/libs/core/common/include -I../../../../../osaf/libs/common/immsv/include -g -Wall -fno-strict-aliasing -Werror -fPIC -D_FORTIFY_SOURCE=2 -fstack-protector -DINTERNAL_VERSION_ID=\"\" -O2 -g -m32 -march=i586 -mtune=i686 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -MT libimmaOm_la-imma_om_api.lo -MD -MP -MF .deps/libimmaOm_la-imma_om_api.Tpo -c imma_om_api.c -fPIC -DPIC -o .libs/libimmaOm_la-imma_om_api.o
      cc1: warnings being treated as errors
      imma_om_api.c: In function 'saImmOmSearchInitialize_2':
      imma_om_api.c:6030: error: integer constant is too large for 'long' type
      make[7]: [libimmaOm_la-imma_om_api.lo] Error 1
      make[7]: Leaving directory /home/incrementaldropstaging/rpms/BUILD/opensaf-4.4.FC/osaf/libs/agents/saf/imma' make[6]: *** [all-recursive] Error 1 make[6]: Leaving directory/home/incrementaldropstaging/rpms/BUILD/opensaf-4.4.FC/osaf/libs/agents/saf'
      make[5]: [all-recursive] Error 1
      make[5]: Leaving directory /home/incrementaldropstaging/rpms/BUILD/opensaf-4.4.FC/osaf/libs/agents' make[4]: *** [all-recursive] Error 1 make[4]: Leaving directory/home/incrementaldropstaging/rpms/BUILD/opensaf-4.4.FC/osaf/libs'
      make[3]: [all-recursive] Error 1
      make[3]: Leaving directory /home/incrementaldropstaging/rpms/BUILD/opensaf-4.4.FC/osaf' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory/home/incrementaldropstaging/rpms/BUILD/opensaf-4.4.FC'
      make[1]: [all] Error 2
      make[1]: Leaving directory `/home/incrementaldropstaging/rpms/BUILD/opensaf-4.4.FC'
      error: Bad exit status from /home/incrementaldropstaging/rpms/tmp/rpm-tmp.89674 (%build)

      RPM build errors:
      Bad exit status from /home/incrementaldropstaging/rpms/tmp/rpm-tmp.89674 (%build)

      gcc -v

      Using built-in specs.
      Target: i586-suse-linux
      Configured with: ../configure --prefix=/usr --infodir=/usr/share/info --mandir=/usr/share/man --libdir=/usr/lib --libexecdir=/usr/lib --enable-languages=c,c++,objc,fortran,obj-c++,java,ada --enable-checking=release --with-gxx-include-dir=/usr/include/c++/4.3 --enable-ssp --disable-libssp --with-bugurl=http://bugs.opensuse.org/ --with-pkgversion='SUSE Linux' --disable-libgcj --disable-libmudflap --with-slibdir=/lib --with-system-zlib --enable-__cxa_atexit --enable-libstdcxx-allocator=new --disable-libstdcxx-pch --enable-version-specific-runtime-libs --program-suffix=-4.3 --enable-linux-futex --without-system-libunwind --with-cpu=generic --build=i586-suse-linux
      Thread model: posix
      gcc version 4.3.4 [gcc-4_3-branch revision 152973] (SUSE Linux)


      CC ntftest-tet_saNtfNotificationSubscribe.o
      cc1: warnings being treated as errors
      tet_saNtfNotificationSubscribe.c: In function 'saNtfNotificationSubscribe_03':
      tet_saNtfNotificationSubscribe.c:94: error: cast from pointer to integer of different size
      tet_saNtfNotificationSubscribe.c:95: error: cast from pointer to integer of different size
      tet_saNtfNotificationSubscribe.c:96: error: cast from pointer to integer of different size
      tet_saNtfNotificationSubscribe.c:97: error: cast from pointer to integer of different size
      tet_saNtfNotificationSubscribe.c:98: error: cast from pointer to integer of different size
      make[2]: [ntftest-tet_saNtfNotificationSubscribe.o] Error 1
      make[2]: Leaving directory /home/emilzor/development/opensaf-4.4-i386/tests/ntfsv' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory/home/emilzor/development/opensaf-4.4-i386'
      make: [all] Error 2


      CC clmtest-tet_saClmClusterNodeGet.o
      cc1: warnings being treated as errors
      ../../tests/clmsv/src/tet_saClmClusterNodeGet.c:23: error: integer constant is too large for 'long' type
      make[2]: [clmtest-tet_saClmClusterNodeGet.o] Error 1
      make[2]: Leaving directory /home/emilzor/development/opensaf-4.4-i386/tests/clmsv' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory/home/emilzor/development/opensaf-4.4-i386'
      make: [all] Error 2


      Sent from sourceforge.net because you indicated interest in https://sourceforge.net/p/opensaf/tickets/758/

      To unsubscribe from further messages, please visit https://sourceforge.net/auth/subscriptions/

       

      Related

      Tickets: #758

  • Mathi Naickan

    Mathi Naickan - 2014-02-07
    • status: review --> fixed
    • Milestone: 4.4.RC2 --> 4.4.RC1
     

Log in to post a comment.