- **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 [email protected] 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.------------------------------------------------------------------------------
Managing the Performance of Cloud-Based Applications
Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
Read the Whitepaper.
http://pubads.g.doubleclick.net/gampad/clk?id=121051231&iu=/4140/ostg.clktrk
_______________________________________________
Opensaf-tickets mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensaf-tickets