Don't try to use libgcc-unwind.map with --disable-shared (PR bootstrap/65725)

Rainer Orth ro@CeBiTec.Uni-Bielefeld.DE
Mon Dec 10 09:51:00 GMT 2018


When configuring with --disable-shared, Solaris bootstrap with the
system ld fails since libgcc-unwind.map is missing.  This is no wonder,
given that the file is only generated with --enable-shared.  The
following patch, from the PR, fixes this.

Bootstrapped on amd64-pc-solaris2.11, installed on mainline.

There were many unrelated issues, usually occuring on Linux as well as
Solaris, for a --disable-shared configuration, which I'll either fix or
report separately.

	Rainer

-- 
-----------------------------------------------------------------------------
Rainer Orth, Center for Biotechnology, Bielefeld University


2018-12-09  Fredrik Nyström  <fredrik@lysator.liu.se>

	PR bootstrap/65725
	* config/sol2.h: Only use libgcc-unwind.map if
	ENABLE_SHARED_LIBGCC.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: sol2-disable-shared-no-libgcc-unwind.patch
Type: text/x-patch
Size: 601 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20181210/eb9dd7db/attachment.bin>


More information about the Gcc-patches mailing list