[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1016903: git-updates.diff not applied ?



Control: reopen -1

> the upstream fix went into 12.2.0-2.

Would be so kind as to demonstrate how ?

Here is what I see on my side:

% ssh barriere.debian.org
% sessionid=$(schroot -b -c sid_i386-dchroot)
% dd-schroot-cmd -c $sessionid apt-get update
% dd-schroot-cmd -c $sessionid apt-get upgrade
% dd-schroot-cmd -c $sessionid apt-get build-dep gcc-12
% dget -u http://deb.debian.org/debian/pool/main/g/gcc-12/gcc-12_12.2.0-14.dsc
% schroot -r -c $sessionid

Then a simple check within the sid schroot:

% cd gcc-12-12.2.0
% grep -r "use emulated vector type for call" .
./debian/patches/git-updates.diff:+                      "use emulated
vector type for call\n");
% grep -r git-updates .
./debian/rules.patch:#  git-updates \

So yes I can see PR106322 patch in file "git-updates.diff". But it
looks as if it is never applied to the source tree.

To reproduce the issue, just use the test from gcc-testsuite:

% wget -O pr106322.c
"https://gcc.gnu.org/git/?p=gcc.git;a=blob_plain;f=gcc/testsuite/gcc.target/i386/pr106322.c;h=31333c5fdccbe02ce7cf5055ce852edc0da1af67;hb=9f532fec01d6651cc3cc136073f044a7953d8560";
% gcc -O2 pr106322.c && ./a.out
zsh: IOT instruction  ./a.out

Compared with:

% /usr/lib/gcc-snapshot/bin/gcc -O2 pr106322.c  && ./a.out && echo "success"
success

Per discussion with gcc-upstream:

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106322#c54
[...]
OK. Thanks for the update! FWIW, with the reduced test case in comment
#45, I just tried with releases/gcc-12 r12-8709 (without my fix), the
aborting was reproduced; while with r12-8710 (my fix), it executed
well.
[...]


Reply to: