Re: Second try at build system changes
From: Philip Martin <philip.martin_at_wandisco.com>
Date: Fri, 21 Dec 2012 15:36:36 +0000
Branko Čibej <brane_at_wandisco.com> writes:
> Can you post the actual compiler-via-libtool invocation, so that I can
This is the working line (with a number of compiler flags from my normal
/bin/sh /home/pm/sw/subversion/obj/libtool --tag=CC --silent --mode=compile gcc-4.6 -g -DSVN_DEPRECATED= -DAPR_POOL_DEBUG -Wpointer-arith -Wdeclaration-after-statement -Wold-style-definition -Wwrite-strings -Wbad-function-cast -Wstrict-overflow -pthread -Werror=implicit-function-declaration -DSVN_DEBUG -DAP_DEBUG -Wno-int-to-pointer-cast -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -I/home/pm/sw/subversion/obj/subversion -I/home/pm/sw/subversion/obj/../src/subversion/include -I/home/pm/sw/subversion/obj/../src/subversion/bindings/swig -I/home/pm/sw/subversion/obj/../src/subversion/bindings/swig/include -I/home/pm/sw/subversion/obj/../src/subversion/bindings/swig/proxy -I/home/pm/sw/subversion/obj/subversion/bindings/swig/proxy -I/usr/include/apr-1.0 -I/usr/include/apr-1.0 -I/usr/include -I. -I/usr/lib/ruby/1.8/x86_64-linux -I/home/pm/sw/subversion/obj/../src/subversion/bindings/swig/ruby/libsvn_swig_ruby -prefer-pic -c -o subversion/bindings/swig/ruby/svn_client.lo subversion/bindings/swig/ruby/svn_client.c
This is the failing line:
/bin/sh /home/pm/sw/subversion/obj2/libtool --tag=CC --silent --mode=compile gcc-4.6 -g -DSVN_DEPRECATED= -DAPR_POOL_DEBUG -std=c89 -Wall -Wshadow -Wpointer-arith -Wdeclaration-after-statement -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wwrite-strings -Wbad-function-cast -Wstrict-overflow -pthread -DSVN_DEBUG -DAP_DEBUG -Wno-int-to-pointer-cast -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -I/home/pm/sw/subversion/obj2/subversion -I/home/pm/sw/subversion/obj2/../src2/subversion/include -I/home/pm/sw/subversion/obj2/../src2/subversion/bindings/swig -I/home/pm/sw/subversion/obj2/../src2/subversion/bindings/swig/include -I/home/pm/sw/subversion/obj2/../src2/subversion/bindings/swig/proxy -I/home/pm/sw/subversion/obj2/subversion/bindings/swig/proxy -I/usr/include/apr-1.0 -I/usr/include/apr-1.0 -I/usr/include -I. -I/usr/lib/ruby/1.8/x86_64-linux -I/home/pm/sw/subversion/obj2/../src2/subversion/bindings/swig/ruby/libsvn_swig_ruby -prefer-pic -c -o subversion/bindings/swig/ruby/svn_client.lo subver So the build system used to strip -std=c89 and now does not. If I
-- Certified & Supported Apache Subversion Downloads: http://www.wandisco.com/subversion/downloadReceived on 2012-12-21 16:37:15 CET |
This is an archived mail posted to the Subversion Dev mailing list.
This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.