https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66038
--- Comment #10 from Douglas Mencken <dougmencken at gmail dot com> --- No, ``ld warning: atom sorting error'' has nothing to do with this issue. For example, commit 2e723940b6a1e61dfb20e03b30fba89dd204b72d (2014-12-19), genmatch@stage2 works fine while building: (...) /Development/gcc-toolchain/_gcc_build_git/./prev-gcc/xg++ -B/Development/gcc-toolchain/_gcc_build_git/./prev-gcc/ -B/usr/powerpc-unknown-darwin/bin/ -nostdinc++ -B/Development/gcc-toolchain/_gcc_build_git/prev-powerpc-unknown-darwin/libstdc++-v3/src/.libs -B/Development/gcc-toolchain/_gcc_build_git/prev-powerpc-unknown-darwin/libstdc++-v3/libsupc++/.libs -I/Development/gcc-toolchain/_gcc_build_git/prev-powerpc-unknown-darwin/libstdc++-v3/include/powerpc-unknown-darwin -I/Development/gcc-toolchain/_gcc_build_git/prev-powerpc-unknown-darwin/libstdc++-v3/include -I/Development/gcc-toolchain/gcc-git/libstdc++-v3/libsupc++ -L/Development/gcc-toolchain/_gcc_build_git/prev-powerpc-unknown-darwin/libstdc++-v3/src/.libs -L/Development/gcc-toolchain/_gcc_build_git/prev-powerpc-unknown-darwin/libstdc++-v3/libsupc++/.libs -g -O2 -mdynamic-no-pic -DIN_GCC -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -DHAVE_CONFIG_H -DGENERATOR_FILE -static-libstdc++ -static-libgcc -o build/genmatch \ build/genmatch.o ../libcpp/libcpp.a ../libiberty/libiberty.a build/errors.o build/vec.o build/hash-table.o .././libiberty/libiberty.a /usr/lib/libiconv.dylib ld warning: atom sorting error for hash_table<id_base, xcallocator, false>::find_with_hash(id_base const*, unsigned int) and operand::gen_transform(__sFILE*, char const*, bool, int, char const*, capture_info*, dt_operand**, bool) in build/genmatch.o ld warning: atom sorting error for hash_table<id_base, xcallocator, false>::find_with_hash(id_base const*, unsigned int) and operand::gen_transform(__sFILE*, char const*, bool, int, char const*, capture_info*, dt_operand**, bool) in build/genmatch.o ld warning: atom sorting error for hash_table<id_base, xcallocator, false>::find_with_hash(id_base const*, unsigned int) and operand::gen_transform(__sFILE*, char const*, bool, int, char const*, capture_info*, dt_operand**, bool) in build/genmatch.o ld warning: atom sorting error for hash_table<id_base, xcallocator, false>::find_with_hash(id_base const*, unsigned int) and operand::gen_transform(__sFILE*, char const*, bool, int, char const*, capture_info*, dt_operand**, bool) in build/genmatch.o build/genmatch --gimple ../../gcc-git/gcc/match.pd \ > tmp-gimple-match.c build/genmatch --generic ../../gcc-git/gcc/match.pd \ > tmp-generic-match.c /bin/sh ../../gcc-git/gcc/../move-if-change tmp-gimple-match.c \ gimple-match.c /bin/sh ../../gcc-git/gcc/../move-if-change tmp-generic-match.c \ generic-match.c echo timestamp > s-match /Development/gcc-toolchain/_gcc_build_git/./prev-gcc/xg++ -B/Development/gcc-toolchain/_gcc_build_git/./prev-gcc/ -B/usr/powerpc-unknown-darwin/bin/ -nostdinc++ -B/Development/gcc-toolchain/_gcc_build_git/prev-powerpc-unknown-darwin/libstdc++-v3/src/.libs -B/Development/gcc-toolchain/_gcc_build_git/prev-powerpc-unknown-darwin/libstdc++-v3/libsupc++/.libs -I/Development/gcc-toolchain/_gcc_build_git/prev-powerpc-unknown-darwin/libstdc++-v3/include/powerpc-unknown-darwin -I/Development/gcc-toolchain/_gcc_build_git/prev-powerpc-unknown-darwin/libstdc++-v3/include -I/Development/gcc-toolchain/gcc-git/libstdc++-v3/libsupc++ -L/Development/gcc-toolchain/_gcc_build_git/prev-powerpc-unknown-darwin/libstdc++-v3/src/.libs -L/Development/gcc-toolchain/_gcc_build_git/prev-powerpc-unknown-darwin/libstdc++-v3/libsupc++/.libs -c -g -O2 -mdynamic-no-pic -DIN_GCC -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -Wno-unused -DHAVE_CONFIG_H -I. -I. -I../../gcc-git/gcc -I../../gcc-git/gcc/. -I../../gcc-git/gcc/../include -I../../gcc-git/gcc/../libcpp/include -I../../gcc-git/gcc/../libdecnumber -I../../gcc-git/gcc/../libdecnumber/dpd -I../libdecnumber -I../../gcc-git/gcc/../libbacktrace -o gimple-match.o -MT gimple-match.o -MMD -MP -MF ./.deps/gimple-match.TPo gimple-match.c /Development/gcc-toolchain/_gcc_build_git/./prev-gcc/xg++ -B/Development/gcc-toolchain/_gcc_build_git/./prev-gcc/ -B/usr/powerpc-unknown-darwin/bin/ -nostdinc++ -B/Development/gcc-toolchain/_gcc_build_git/prev-powerpc-unknown-darwin/libstdc++-v3/src/.libs -B/Development/gcc-toolchain/_gcc_build_git/prev-powerpc-unknown-darwin/libstdc++-v3/libsupc++/.libs -I/Development/gcc-toolchain/_gcc_build_git/prev-powerpc-unknown-darwin/libstdc++-v3/include/powerpc-unknown-darwin -I/Development/gcc-toolchain/_gcc_build_git/prev-powerpc-unknown-darwin/libstdc++-v3/include -I/Development/gcc-toolchain/gcc-git/libstdc++-v3/libsupc++ -L/Development/gcc-toolchain/_gcc_build_git/prev-powerpc-unknown-darwin/libstdc++-v3/src/.libs -L/Development/gcc-toolchain/_gcc_build_git/prev-powerpc-unknown-darwin/libstdc++-v3/libsupc++/.libs -c -g -O2 -mdynamic-no-pic -DIN_GCC -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -Wno-unused -DHAVE_CONFIG_H -I. -I. -I../../gcc-git/gcc -I../../gcc-git/gcc/. -I../../gcc-git/gcc/../include -I../../gcc-git/gcc/../libcpp/include -I../../gcc-git/gcc/../libdecnumber -I../../gcc-git/gcc/../libdecnumber/dpd -I../libdecnumber -I../../gcc-git/gcc/../libbacktrace -o generic-match.o -MT generic-match.o -MMD -MP -MF ./.deps/generic-match.TPo generic-match.c /Development/gcc-toolchain/_gcc_build_git/./prev-gcc/xg++ -B/Development/gcc-toolchain/_gcc_build_git/./prev-gcc/ -B/usr/powerpc-unknown-darwin/bin/ -nostdinc++ -B/Development/gcc-toolchain/_gcc_build_git/prev-powerpc-unknown-darwin/libstdc++-v3/src/.libs -B/Development/gcc-toolchain/_gcc_build_git/prev-powerpc-unknown-darwin/libstdc++-v3/libsupc++/.libs -I/Development/gcc-toolchain/_gcc_build_git/prev-powerpc-unknown-darwin/libstdc++-v3/include/powerpc-unknown-darwin -I/Development/gcc-toolchain/_gcc_build_git/prev-powerpc-unknown-darwin/libstdc++-v3/include -I/Development/gcc-toolchain/gcc-git/libstdc++-v3/libsupc++ -L/Development/gcc-toolchain/_gcc_build_git/prev-powerpc-unknown-darwin/libstdc++-v3/src/.libs -L/Development/gcc-toolchain/_gcc_build_git/prev-powerpc-unknown-darwin/libstdc++-v3/libsupc++/.libs -c -g -O2 -mdynamic-no-pic -DIN_GCC -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -DHAVE_CONFIG_H -I. -I. -I../../gcc-git/gcc -I../../gcc-git/gcc/. -I../../gcc-git/gcc/../include -I../../gcc-git/gcc/../libcpp/include -I../../gcc-git/gcc/../libdecnumber -I../../gcc-git/gcc/../libdecnumber/dpd -I../libdecnumber -I../../gcc-git/gcc/../libbacktrace -o gimple-pretty-print.o -MT gimple-pretty-print.o -MMD -MP -MF ./.deps/gimple-pretty-print.TPo ../../gcc-git/gcc/gimple-pretty-print.c (...)