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/84257] Extremely slow compilation from gcc source code under macOS 10.13


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

--- Comment #3 from 191919 <191919 at gmail dot com> ---
In macOS 10.12.6 with SIP disabled, the value of DYLD_LIBRARY_PATH was modified
to the same as in macOS 10.13.3, but the compilation speed was not affected.

I guess this is a regression of macOS code to handle DYLD_LIBRARY_PATH in an
SIP-disabled environment.

Long since OS X El Capitan which introduced SIP (aka rootless),
DYLD_LIBRARY_PATH was practically screened and no one complained about it, I
think it is safe to say that the line #3 of the following code taken from
configure.ac of gcc is not necessary and can be removed.

1 | case "${host}" in
2 |  *-*-hpux*) RPATH_ENVVAR=SHLIB_PATH ;;
3 |  *-*-darwin*) RPATH_ENVVAR=DYLD_LIBRARY_PATH ;;
4 |  *-*-mingw* | *-*-cygwin ) RPATH_ENVVAR=PATH ;;
5 |  *) RPATH_ENVVAR=LD_LIBRARY_PATH ;;
6 | esac

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