This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug bootstrap/81033] New: [8 Regression] Bootstrap broken on darwin


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

            Bug ID: 81033
           Summary: [8 Regression] Bootstrap broken on darwin
           Product: gcc
           Version: 8.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: bootstrap
          Assignee: unassigned at gcc dot gnu.org
          Reporter: dominiq at lps dot ens.fr
  Target Milestone: ---

Created attachment 41514
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=41514&action=edit
working assembly

Bootstrap is broke on darwin at revision r249022 (r249007 bootstraps):

bitmap_allocator.s:7266:1: error: invalid symbol redefinition
___cold_sect_of_allocate:
^
bitmap_allocator.s:8727:1: error: invalid symbol redefinition
___cold_sect_of__S_refill_pool:
^
bitmap_allocator.s:9719:1: error: invalid symbol redefinition
___cold_sect_of__M_allocate_single_object:
^
bitmap_allocator.s:10746:1: error: invalid symbol redefinition
___cold_sect_of__M_deallocate_single_object:
^
bitmap_allocator.s:11928:1: error: invalid symbol redefinition
___cold_sect_of_allocate:
^
bitmap_allocator.s:13067:1: error: invalid symbol redefinition
___cold_sect_of_allocate:
^
bitmap_allocator.s:14156:1: error: invalid symbol redefinition
___cold_sect_of_deallocate:
^

I &m attaching two assembly files. The first one (working) is compiled with

gcc8 -shared-libgcc -nostdinc++
-L/opt/gcc/build_w/x86_64-apple-darwin16.6.0/libstdc++-v3/src
-L/opt/gcc/build_w/x86_64-apple-darwin16.6.0/libstdc++-v3/src/.libs
-L/opt/gcc/build_w/x86_64-apple-darwin16.6.0/libstdc++-v3/libsupc++/.libs
-I/opt/gcc/work/libgcc
-I/opt/gcc/build_w/x86_64-apple-darwin16.6.0/libstdc++-v3/include/x86_64-apple-darwin16.6.0
-I/opt/gcc/build_w/x86_64-apple-darwin16.6.0/libstdc++-v3/include
-I/opt/gcc/work/libstdc++-v3/libsupc++ -std=gnu++98 -D_GLIBCXX_SHARED
-fno-implicit-templates -Wall -Wextra -Wwrite-strings -Wcast-qual -Wabi
-fdiagnostics-show-location=once -ffunction-sections -fdata-sections
-frandom-seed=bitmap_allocator.lo -g -O2 -c
../../../../../work/libstdc++-v3/src/c++98/bitmap_allocator.cc -fno-common
-DPIC -D_GLIBCXX_SHARED -save-temps

The second one, giving the above errors, is compiled with

/opt/gcc/build_w/gcc/xgcc -shared-libgcc -B/opt/gcc/build_w/./gcc -nostdinc++
-L/opt/gcc/build_w/x86_64-apple-darwin16.6.0/libstdc++-v3/src
-L/opt/gcc/build_w/x86_64-apple-darwin16.6.0/libstdc++-v3/src/.libs
-L/opt/gcc/build_w/x86_64-apple-darwin16.6.0/libstdc++-v3/libsupc++/.libs
-I/opt/gcc/work/libgcc
-I/opt/gcc/build_w/x86_64-apple-darwin16.6.0/libstdc++-v3/include/x86_64-apple-darwin16.6.0
-I/opt/gcc/build_w/x86_64-apple-darwin16.6.0/libstdc++-v3/include
-I/opt/gcc/work/libstdc++-v3/libsupc++ -std=gnu++98 -D_GLIBCXX_SHARED
-fno-implicit-templates -Wall -Wextra -Wwrite-strings -Wcast-qual -Wabi
-fdiagnostics-show-location=once -ffunction-sections -fdata-sections
-frandom-seed=bitmap_allocator.lo -g -O2 -c
../../../../../work/libstdc++-v3/src/c++98/bitmap_allocator.cc -fno-common
-DPIC -D_GLIBCXX_SHARED -save-temps

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]