On Thu, Jun 18, 2009 at 04:24:21AM -0500, dragan@saraginov.com wrote: > Having problems on building rpm packages for the util-vservers version > 0.30.215 on CentOS 4.7 Final powered server. The configure passed fine, > but I am stacked with make. The sample of the error follows: > > ============================================================================== > src/capchroot.c:1: warning: -malign-loops is obsolete, use -falign-loops > src/capchroot.c:1: warning: -malign-jumps is obsolete, use -falign-jumps > src/capchroot.c:1: warning: -malign-functions is obsolete, use > -falign-functions > src/capchroot.c:1: error: -mpreferred-stack-boundary=2 is not between 4 > and 12 sounds to me like your build system (rpm-build?) specifies some compiler/linker options, which are not approved by the toolchain you are using ... read: this looks like a CentOS problem to me HTH, Herbert > make[2]: *** [src/capchroot.o] Error 1 > make[2]: *** Waiting for unfinished jobs.... > mv -f ensc_fmt/.deps/lib_libvserver_la-fmtx-32.Tpo > ensc_fmt/.deps/lib_libvserver_la-fmtx-32.Plo > make[2]: *** Waiting for unfinished jobs.... > mv -f ensc_fmt/.deps/lib_libvserver_la-fmtx-64.Tpo > ensc_fmt/.deps/lib_libvserver_la-fmtx-64.Plo > gcc -DHAVE_CONFIG_H -I. -I ./lib -I ./ensc_wrappers -D_GNU_SOURCE > -D_REENTRANT -DNDEBUG -DNDEBUG -O2 -g -pipe -m64 -std=c99 -Wall -pedantic > -W -funit-at-a-time -MT ensc_fmt/lib_libvserver_la-fmt-tai64n.lo -MD -MP > -MF ensc_fmt/.deps/lib_libvserver_la-fmt-tai64n.Tpo -c > ensc_fmt/fmt-tai64n.c -fPIC -DPIC -o > ensc_fmt/.libs/lib_libvserver_la-fmt-tai64n.o > mv -f ensc_fmt/.deps/lib_libvserver_la-fmt-tai64n.Tpo > ensc_fmt/.deps/lib_libvserver_la-fmt-tai64n.Plo > make[2]: Leaving directory `/usr/src/redhat/BUILD/util-vserver-0.30.215' > make[1]: *** [all-recursive] Error 1 > make[1]: Leaving directory `/usr/src/redhat/BUILD/util-vserver-0.30.215' > make: *** [all] Error 2 > error: Bad exit status from /var/tmp/rpm-tmp.94014 (%build) > ============================================================================== > > Can anyone help me to determine what is causing this issue? > > Any help would be much appreciated. Thanks. > > Dragan > > -- > This message has been scanned for viruses and > dangerous content by MailScanner, and is > believed to be clean.