reproduce-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Reproduce-devel] [bug #56243] Building GCC on Mac OS: libiberty is usin


From: Mohammad Akhlaghi
Subject: [Reproduce-devel] [bug #56243] Building GCC on Mac OS: libiberty is using clang
Date: Tue, 30 Apr 2019 05:37:35 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:66.0) Gecko/20100101 Firefox/66.0

URL:
  <https://savannah.nongnu.org/bugs/?56243>

                 Summary: Building GCC on Mac OS: libiberty is using clang
                 Project: Reproducible paper template
            Submitted by: makhlaghi
            Submitted on: Tue 30 Apr 2019 10:37:33 AM BST
                Category: Software
                Severity: 4 - Important
              Item Group: Crash
                  Status: Postponed
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any

    _______________________________________________________

Details:

When trying to build GCC from source on a Mac OS system, we get the following
error. 


libtool: compile: 
/myid/reproducible-paper/build/dependencies/gcc-build/./gcc/xgcc
-B/myid/reproducible-paper/build/dependencies/gcc-build/./gcc/
-B/myid/reproducible-paper/build/dependencies/installed/x86_64-apple-darwin17.7.0/bin/
-B/myid/reproducible-paper/build/dependencies/installed/x86_64-apple-darwin17.7.0/lib/
-isystem
/myid/reproducible-paper/build/dependencies/installed/x86_64-apple-darwin17.7.0/include
-isystem
/myid/reproducible-paper/build/dependencies/installed/x86_64-apple-darwin17.7.0/sys-include
/myid/reproducible-paper/build/dependencies/gcc-8.3.0/libobjc/thr.c -c -I.
-I/myid/reproducible-paper/build/dependencies/gcc-8.3.0/libobjc -g -O2 -W
-Wall -Wwrite-strings -Wstrict-prototypes -DIN_GCC -DIN_TARGET_LIBS
-fno-strict-aliasing -fexceptions
-I/myid/reproducible-paper/build/dependencies/gcc-8.3.0/libobjc/../gcc
-I/myid/reproducible-paper/build/dependencies/gcc-8.3.0/libobjc/../gcc/config
-I../.././gcc
-I/myid/reproducible-paper/build/dependencies/gcc-8.3.0/libobjc/../libgcc
-I../libgcc
-I/myid/reproducible-paper/build/dependencies/gcc-8.3.0/libobjc/../include -o
thr.o >/dev/null 2>&1
g++ -std=gnu++98   -g -O2 -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 -fno-PIE -static-libstdc++ -static-libgcc   -o
build/genchecksum \
    build/genchecksum.o .././libiberty/libiberty.a
clang: error: unsupported option '-static-libgcc'
make[3]: *** [Makefile;2869: build/genchecksum] Error 1
make[3]: Leaving directory
'/myid/reproducible-paper/build/dependencies/gcc-build/gcc'
make[2]: *** [Makefile;4624: all-gcc] Error 2
make[2]: *** Waiting for unfinished jobs....


It is apparently because the final call to `g++' is using the host's compiler
(clang which doesn't support `-static-libgcc'). This is strange, because
during the configuration step, checks if the compiler is GNU and it says yes!
But probably that is because its checking the temporary
`/myid/reproducible-paper/build/dependencies/gcc-build/./gcc/xgcc'.




    _______________________________________________________

Reply to this item at:

  <https://savannah.nongnu.org/bugs/?56243>

_______________________________________________
  Message sent via Savannah
  https://savannah.nongnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]