Bug 47124 - *solaris2 configurations configure, but don't build
Summary: *solaris2 configurations configure, but don't build
Status: RESOLVED FIXED
Alias: None
Product: gcc
Classification: Unclassified
Component: target (show other bugs)
Version: 4.6.0
: P3 normal
Target Milestone: 4.7.0
Assignee: Rainer Orth
URL: http://gcc.gnu.org/ml/gcc-patches/201...
Keywords:
Depends on:
Blocks: 47093
  Show dependency treegraph
 
Reported: 2010-12-29 17:52 UTC by Jorn Wolfgang Rennecke
Modified: 2011-07-25 15:00 UTC (History)
1 user (show)

See Also:
Host: x86_64-pc-linux-gnu
Target: *solaris2
Build:
Known to work:
Known to fail:
Last reconfirmed:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.