https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85669

--- Comment #11 from Douglas Mencken <dougmencken at gmail dot com> ---
I’m bisecting yet

CC="ccache /Developer/GCC/7.3p/PowerPC/32bit/bin/gcc" \
CXX="ccache /Developer/GCC/7.3p/PowerPC/32bit/bin/g++" \
../gcc-build/configure \
--build=powerpc-unknown-darwin --host=powerpc-unknown-darwin
--target=powerpc-unknown-darwin \
--prefix=/Developer/GCC/7_to_8_bisecting/PowerPC/32bit \
--enable-languages=c,c++,objc,obj-c++ \
--enable-shared --enable-static \
--enable-checking=release \
--enable-threads=posix --with-__thread --without-system-zlib \
--disable-nls --disable-werror

make -j3 2>&1 | tee ../_7_to_8_bootstrap.log

iain.patch is needed for 7.3 before r257501 patch
https://gcc.gnu.org/viewcvs/gcc?view=revision&revision=257501
that is git commit 566f381623050c5af7ba9d02d05a5b9b1c046158
you may get it from https://ftp.osuosl.org/pub/manulix/other/GCC/iain.patch

$ git bisect start
$ git bisect good gcc-7_3_0-release # "good" as in it reaches stage3, patched
with iain.patch if it needs to
$ git bisect bad gcc-8_1_0-release # otherwise it’s "bad"
Bisecting: a merge base must be tested
[7369309777f6d6e630fb7763bcd08a0317727e36] [ARM] Fix type for .init_array.* and
.fini_array.* sections
$ patch -p1 < ../patches/iain.patch
$ ... configure and make ...
$ cat stage_current
stage3
$ git stash
$ git bisect good # 7369309777f6d6e630fb7763bcd08a0317727e36 # r247015
Bisecting: 4002 revisions left to test after this (roughly 12 steps)
[b50e3690fbcafedefdb888c2d66725b8f405706e] Add ChangeLog entries, missing from
last commit
$ patch -p1 < ../patches/iain.patch
$ ... configure and make ...
build/gencfn-macros: DEF_INTERNAL_INT_FN (PARITY) has no associated built-in
functions
make[3]: *** [s-case-cfn-macros] Error 1
$ cat stage_current
stage2
$ git stash
$ git bisect bad # b50e3690fbcafedefdb888c2d66725b8f405706e # r253946
Bisecting: 2001 revisions left to test after this (roughly 11 steps)
[61cb18166c6a1507af78ce73a4e3c8a21b0cb8ab]      * profile-count.h
(profile_probability::from_reg_br_prob_note, 
profile_probability::to_reg_br_prob_note): New functions.
$ patch -p1 < ../patches/iain.patch
$ ... configure and make ...
Undefined symbols:
  "make_pass_analyze_swaps(gcc::context*)", referenced from:
      gcc::pass_manager::pass_manager(gcc::context*) in libbackend.a(passes.o)
      gcc::pass_manager::pass_manager(gcc::context*) in libbackend.a(passes.o)
  "rs6000_output_load_multiple(rtx_def**)", referenced from:
      output_464(rtx_def**, rtx_insn*)     in libbackend.a(insn-output.o)
      output_465(rtx_def**, rtx_insn*)     in libbackend.a(insn-output.o)
      output_466(rtx_def**, rtx_insn*)     in libbackend.a(insn-output.o)
      output_467(rtx_def**, rtx_insn*)     in libbackend.a(insn-output.o)
      output_468(rtx_def**, rtx_insn*)     in libbackend.a(insn-output.o)
      output_469(rtx_def**, rtx_insn*)     in libbackend.a(insn-output.o)
  "expand_block_move(rtx_def**)", referenced from:
      gen_movmemsi(rtx_def*, rtx_def*, rtx_def*, rtx_def*) in
libbackend.a(insn-emit.o)
  "expand_block_clear(rtx_def**)", referenced from:
      gen_setmemsi(rtx_def*, rtx_def*, rtx_def*, rtx_def*) in
libbackend.a(insn-emit.o)
ld: symbol(s) not found
make[3]: *** [cc1plus] Error 1
$ cat stage_current
stage1
$ git stash
$ git bisect skip # 61cb18166c6a1507af78ce73a4e3c8a21b0cb8ab # r250239
Bisecting: 2001 revisions left to test after this (roughly 11 steps)
[4f5b1ee8ccfd04b939e07bd99f4ca6f8d3f5aa83]      PR go/80964     * configure.ac:
Set NATIVE if host_alias = target_alias.        * configure: Rebuild.
$ patch -p1 < ../patches/iain.patch
$ ... configure and make ...
$ cat stage_current
stage3
$ git stash
$ git bisect good # 4f5b1ee8ccfd04b939e07bd99f4ca6f8d3f5aa83 # r249172
Bisecting: 1338 revisions left to test after this (roughly 10 steps)
[a5079b7fe2c7b4c862704149db5fb0948a7d02f8] Adds the powerpc equivalent
mm_malloc.h header which is needed by xmmintrin.h and cleans up some noisy
warnings from the previous MMX commit.
$ patch -p1 < ../patches/iain.patch
$ ... configure and make ...
$ cat stage_current
stage3
$ git stash
$ git bisect good # a5079b7fe2c7b4c862704149db5fb0948a7d02f8 # r251339
Bisecting: 668 revisions left to test after this (roughly 9 steps)
[237c1ea8f68a7cc3100b63ee50da05c9e0b0ea6d] rs6000: Don't touch below the stack
pointer (PR77687)
$ patch -p1 < ../patches/iain.patch
$ ... configure and make ...
build/gencfn-macros: DEF_INTERNAL_INT_FN (FFS) has no associated built-in
functions
build/gencfn-macros: DEF_INTERNAL_INT_FN (PARITY) has no associated built-in
functions
make[3]: *** [s-case-cfn-macros] Error 1
$ cat stage_current
stage2
$ git stash
$ git bisect bad # 237c1ea8f68a7cc3100b63ee50da05c9e0b0ea6d # r253033
Bisecting: 334 revisions left to test after this (roughly 8 steps)
[1f0c90bb95ae0d59c93a97dc12294425831c5080] 2017-09-07  Nicolas Roche 
<ro...@adacore.com>
$ patch -p1 < ../patches/iain.patch
$ ... configure and make ...
build/gencfn-macros: DEF_INTERNAL_INT_FN (CTZ) has no associated built-in
functions
build/gencfn-macros: DEF_INTERNAL_INT_FN (FFS) has no associated built-in
functions
build/gencfn-macros: DEF_INTERNAL_INT_FN (PARITY) has no associated built-in
functions
make[3]: *** [s-case-cfn-macros] Error 1
$ cat stage_current
stage2
$ git stash
$ git bisect bad # 1f0c90bb95ae0d59c93a97dc12294425831c5080 # r251838
Bisecting: 166 revisions left to test after this (roughly 7 steps)
[bc3e9c9df58c165b0157aabf69b222130c835a63] 2017-08-31  Richard Biener 
<rguent...@suse.de>
$ patch -p1 < ../patches/iain.patch
$ ... configure and make ...
$ cat stage_current
stage3
$ git stash
$ git bisect good # bc3e9c9df58c165b0157aabf69b222130c835a63 # r251559
Bisecting: 83 revisions left to test after this (roughly 6 steps)
[1694a564a16d2403ba1d80778eaacd49b1a62b2c] [gcc]
$ patch -p1 < ../patches/iain.patch
$ ... configure and make ...

In short, briefly

git bisect start
git bisect good gcc-7_3_0-release # r257041
git bisect bad gcc-8_1_0-release # r259829
git bisect good 7369309777f6d6e630fb7763bcd08a0317727e36 # r247015 merge parent
git bisect bad b50e3690fbcafedefdb888c2d66725b8f405706e # r253946
git bisect skip 61cb18166c6a1507af78ce73a4e3c8a21b0cb8ab # r250239
git bisect good 4f5b1ee8ccfd04b939e07bd99f4ca6f8d3f5aa83 # r249172
git bisect good a5079b7fe2c7b4c862704149db5fb0948a7d02f8 # r251339
git bisect bad 237c1ea8f68a7cc3100b63ee50da05c9e0b0ea6d # r253033
git bisect bad 1f0c90bb95ae0d59c93a97dc12294425831c5080 # r251838
git bisect good bc3e9c9df58c165b0157aabf69b222130c835a63 # r251559

git bisect ????? 1694a564a16d2403ba1d80778eaacd49b1a62b2c # r251723

Reply via email to