On 11/1/2012 10:48 AM, Bruce Korb wrote:
Hi Robert,

On Thu, Nov 1, 2012 at 6:35 AM, rbmj <r...@verizon.net> wrote:
.... and now my patches will build on top of
trunk.  Bruce, can you give steps on how to reproduce the error you
reported?

rm -rf gcc-bld gcc-ins
cp -l gcc-svn gcc-bld
pfx=$PWD/gcc-ins
cd gcc-bld
./configure --enable-languages=c,c++ --prefix=$pfx CFLAGS='-g2 -Wall'
make

I never build in my source tree.


Doing (roughly) equivalent in git:

gcc$ git reset --hard HEAD #clean stuff up
gcc$ git clean -f -d # more cleaning
gcc$ git checkout -b test # new branch at current HEAD
gcc$ git am ../patches/* # applies my patches
gcc$ cd ../build
build$ ../gcc/configure --enable-languages=c,c++ --prefix=$pfx --disable-multilib CFLAGS='-g2 -Wall' #need to use disable-multilib or the whole thing dies...
build$ make -j2
build$ make install

I get no errors on a fresh fedora vm rev193071

I build using my vc tree as it's significantly quicker to tell git to make a new branch to build and then just throw that branch away than it is to copy my whole source tree.

Are you sure that those three *minor* changes are what is breaking your build?

--
rbmj

Reply via email to