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

            Bug ID: 100560
           Summary: [13 regression] build/gengtype-state.o fails with
                    clang 10.0.1: cannot specify -o when generating
                    multiple output files
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: bootstrap
          Assignee: unassigned at gcc dot gnu.org
          Reporter: gerald at pfeifer dot com
                CC: marxin at gcc dot gnu.org
  Target Milestone: ---

This started between May 9th 15:40 UTC and May 10th 15:40 UTC.

c++ -std=c++11   -g -DIN_GCC    -fno-strict-aliasing -fno-exceptions -fno-rtti
-fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings-Wcast-qual
-Wno-error=format-diag -Wno-format -Wmissing-format-attribute
-Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros
-Wno-overlength-strings -fno-common  -DHAVE_CONFIG_H  -DGENERATOR_FILE -fno-PIE
-no-pie -o build/gengtype \
    build/gengtype.o build/errors.o build/gengtype-lex.o build/gengtype-parse.o
build/gengtype-state.o version.h
../build-i586-unknown-freebsd11.4/libiberty/libiberty.a
c++: warning: treating 'c-header' input as 'c++-header' when in C++ mode, this
     behavior is deprecated [-Wdeprecated]
c++: error: cannot specify -o when generating multiple output files
gmake[3]: *** [Makefile:2989: build/gengtype] Error 1
gmake[3]: Leaving directory '/scratch/tmp/gerald/OBJ-0511-2228/gcc'
gmake[2]: *** [Makefile:4759: all-stage1-gcc] Error 2
gmake[2]: Leaving directory '/scratch/tmp/gerald/OBJ-0511-2228'
gmake[1]: *** [Makefile:25415: stage1-bubble] Error 2
gmake[1]: Leaving directory '/scratch/tmp/gerald/OBJ-0511-2228'


% c++ --version
FreeBSD clang version 10.0.1 (g...@github.com:llvm/llvm-project.git
llvmorg-10.0.1-0-gef32c611aa2)
Target: i386-unknown-freebsd11.4


Martin, I saw you made a small change around gengtype that day,
alas don't see how that might have triggered this? Any idea?

Reply via email to