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

            Bug ID: 90808
           Summary: gcc fails to build/bootstrap with XCode 10.2
           Product: gcc
           Version: 10.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: bootstrap
          Assignee: unassigned at gcc dot gnu.org
          Reporter: juergen.reuter at desy dot de
  Target Milestone: ---

There is a new bootstrap problem, I don't know whether this is a regression, or
something new due to the new command line tools of Apple.
In file included from ../../../libgcc/libgcov-interface.c:26:
../../../libgcc/libgcov.h: In function 'gcov_get_counter_ignore_scaling':
../../../libgcc/libgcov.h:331:44: warning: unused parameter 'ignore_scaling'
[-Wunused-parameter]
  331 | gcov_get_counter_ignore_scaling (gcov_type ignore_scaling)
      |                                  ~~~~~~~~~~^~~~~~~~~~~~~~
/usr/local/packages/gcc_10.0/_build/./gcc/xgcc
-B/usr/local/packages/gcc_10.0/_build/./gcc/
-B/usr/local/x86_64-apple-darwin18.5.0/bin/
-B/usr/local/x86_64-apple-darwin18.5.0/lib/ -isystem
/usr/local/x86_64-apple-darwin18.5.0/include -isystem
/usr/local/x86_64-apple-darwin18.5.0/sys-include   -fno-checking -g -O2 -O2  -g
-O2 -DIN_GCC    -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual
-Wno-error=format-diag -Wno-format -Wstrict-prototypes -Wmissing-prototypes
-Wno-error=format-diag -Wold-style-definition  -isystem ./include  
-mmacosx-version-min=10.5 -pipe -fno-common -g -DIN_LIBGCC2 -fbuilding-libgcc
-fno-stack-protector   -mmacosx-version-min=10.5 -pipe -fno-common -I. -I.
-I../.././gcc -I../../../libgcc -I../../../libgcc/. -I../../../libgcc/../gcc
-I../../../libgcc/../include  -DHAVE_CC_TLS -DUSE_EMUTLS -o _gcov.o -MT _gcov.o
-MD -MP -MF _gcov.dep -DL_gcov -c ../../../libgcc/libgcov-driver.c
ld: library not found for -ldylib1.10.5.o
collect2: error: ld returned 1 exit status
make[5]: *** [libgcc_s.dylib] Error 1
make[4]: *** [multi-do] Error 1
make[3]: *** [all-multi] Error 2
make[3]: *** Waiting for unfinished jobs....
In file included from ../../../libgcc/libgcov-interface.c:26:
../../../libgcc/libgcov.h: In function 'gcov_get_counter_ignore_scaling':
../../../libgcc/libgcov.h:331:44: warning: unused parameter 'ignore_scaling'
[-Wunused-parameter]
  331 | gcov_get_counter_ignore_scaling (gcov_type ignore_scaling)
      |                                  ~~~~~~~~~~^~~~~~~~~~~~~~
In file included from ../../../libgcc/libgcov-interface.c:26:
../../../libgcc/libgcov.h: In function 'gcov_get_counter_ignore_scaling':
../../../libgcc/libgcov.h:331:44: warning: unused parameter 'ignore_scaling'
[-Wunused-parameter]
  331 | gcov_get_counter_ignore_scaling (gcov_type ignore_scaling)
      |                                  ~~~~~~~~~~^~~~~~~~~~~~~~
In file included from ../../../libgcc/libgcov-driver.c:26:
../../../libgcc/libgcov.h: In function 'gcov_get_counter_ignore_scaling':
../../../libgcc/libgcov.h:331:44: warning: unused parameter 'ignore_scaling'
[-Wunused-parameter]
  331 | gcov_get_counter_ignore_scaling (gcov_type ignore_scaling)
      |                                  ~~~~~~~~~~^~~~~~~~~~~~~~
make[2]: *** [all-stage1-target-libgcc] Error 2
make[1]: *** [stage1-bubble] Error 2
make: *** [all] Error 2

This is r272113. r271437 was still working, but I think, I did a command lines
update before. MAC OS X is 10.14.5, XCode is 10.2.1. It seems that ca. 4-5
weeks ago I installed the command line tools beta 1, though I haven't any beta
update channel checkboxed!? Any confirmation?

Reply via email to