Fixed in the following changesets. However, the change related to NTF still
needs followup!
[staging:a1bab2]
[staging:0e2ff2]
[staging:f5ec93]
[staging:fa64aa]
[staging:8a9b20]
[staging:0ce6f2]
changeset: 4937:a1bab2743288
branch: opensaf-4.4.x
parent: 4935:6167cc32f6e2
user: Zoran Milinkovic <[email protected]>
date: Fri Feb 07 22:49:22 2014 +0530
summary: tests: fix build error in clmtests for lower version of gcc for
32-bit [#758]
changeset: 4938:0e2ff24a6f36
branch: opensaf-4.4.x
user: Zoran Milinkovic <[email protected]>
date: Fri Feb 07 22:50:53 2014 +0530
summary: ntf: fix build error for lower version of gcc for 32-bit [#758]
changeset: 4939:f5ec9329e849
branch: opensaf-4.4.x
user: Zoran Milinkovic <[email protected]>
date: Fri Feb 07 22:51:34 2014 +0530
summary: imm: fix build error for lower version of gcc for 32-bit [#758]
changeset: 4940:fa64aa6e5ca6
parent: 4936:f904ffae609d
user: Zoran Milinkovic <[email protected]>
date: Fri Feb 07 22:52:34 2014 +0530
summary: tests: fix build error in clmtests for lower version of gcc for
32-bit [#758]
changeset: 4941:8a9b200824d2
user: Zoran Milinkovic <[email protected]>
date: Fri Feb 07 22:52:53 2014 +0530
summary: ntf: fix build error for lower version of gcc for 32-bit [#758]
changeset: 4942:0ce6f2f86361
tag: tip
user: Zoran Milinkovic <[email protected]>
date: Fri Feb 07 22:53:42 2014 +0530
summary: imm: fix build error from lower version of gcc for 32-bit [#758]
---
** [tickets:#758] opensaf 4.4.x latest staging does not compile for 32bit**
**Status:** fixed
**Created:** Fri Jan 31, 2014 06:50 AM UTC by Sirisha Alla
**Last Updated:** Fri Feb 07, 2014 04:25 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