Opened 14 years ago

Closed 14 years ago

#2384 closed Bugs (fixed)

Darwin option: -fcoalesce-templates

Reported by: brooksbp Owned by: Vladimir Prus
Milestone: Boost 1.37.0 Component: build
Version: Boost 1.36.0 Severity: Problem
Keywords: Cc:

Description

Running OS X 10.5.5 with Xcode 3.0...

Errors:

...failed darwin.compile.c++ bin/darwin-4.0/debug/link-static/threading-multi/routing_table.o... darwin.compile.c++ bin/darwin-4.0/debug/link-static/threading-multi/rpc_manager.o cc1plus: error: unrecognized command line option "-fcoalesce-templates"

Solution:

edited boost/tools/build/v2/tools/darwin.jam file and removed the line that mentioned -fcoalesce-templates

Change History (3)

comment:1 by Vladimir Prus, 14 years ago

What is the content of your user-config.jam? What is your exact command line? What is the output of 'g++ -dumpversion'?

comment:2 by Steven Watanabe, 14 years ago

use a three digit version (e.g. 4.0.1) instead of only two digits (4.0)

comment:3 by Vladimir Prus, 14 years ago

Resolution: fixed
Status: newclosed

I've recently committed a fix that causes darwin.jam to use the 3-digit version number as reported by compiler for deciding of -fcoalesce-templates should be used. Therefore, 2-digit version specified by the user no longer breaks.

Note: See TracTickets for help on using tickets.