Bug 47124

Summary: *solaris2 configurations configure, but don't build
Product: gcc Reporter: Jorn Wolfgang Rennecke <amylaar>
Component: targetAssignee: Rainer Orth <ro>
Status: RESOLVED FIXED    
Severity: normal CC: ro
Priority: P3    
Version: 4.6.0   
Target Milestone: 4.7.0   
URL: http://gcc.gnu.org/ml/gcc-patches/2011-07/msg02158.html
Host: x86_64-pc-linux-gnu Target: *solaris2
Build: Known to work:
Known to fail: Last reconfirmed:
Bug Depends on:    
Bug Blocks: 47093    

Description Jorn Wolfgang Rennecke 2010-12-29 17:52:45 UTC
Solaris2 configurations without a minor OS version number, e.g.
sparc-sun-solaris2 --enable-threads=solaris,
configure, but fail to build because LIB_THREAD_LDFLAGS_SPEC is not defined:

../../../gcc/gcc/gcc.c:684:31: error: expected ‘,’ or ‘;’ before ‘LIB_THREAD_LDFLAGS_SPEC’
make[2]: *** [gcc.o] Error 1

If this configuration is not supposed to work, it would be preferable to
reject it at configure time.
Comment 1 Rainer Orth 2011-07-25 14:58:22 UTC
Author: ro
Date: Mon Jul 25 14:58:18 2011
New Revision: 176751

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=176751
Log:
	PR target/47124
	* config.gcc: Reject *-*-solaris2 configuration.

Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/config.gcc
Comment 2 Rainer Orth 2011-07-25 15:00:32 UTC
Fixed for 4.7.0.