Bug 42019

Summary: Update port: devel/distcc fix for various configure scripts
Product: Ports & Packages Reporter: Frerich Raabe <frerich.raabe>
Component: Individual Port(s)Assignee: freebsd-ports (Nobody) <ports>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
file.diff none

Description Frerich Raabe 2002-08-26 03:30:01 UTC
libstdc++-v3's configure script (and others) execute commands such as
.../xgcc -B.../ conftest.C -c -S. Assuming that xgcc invokes the distcc client,
this makes the distcc client write the assembly output to conftest.o even
though it should go into conftest.s. The cause of this is that distcc currently
does not honour the fact that -S supersedes -c.
Interestingly, if you add "-o conftest.s" to the command line, it's the distcc
server that fails, claiming it couldn't find conftest.C.
The attached patch (courtesy of Alexandre Oliva <aoliva@redhat.com>
fixes this behaviour.

How-To-Repeat: Try to compile any program with both the "-c" and the "-S" parameters specified.
Comment 1 Mario Sergio Fujikawa Ferreira freebsd_committer freebsd_triage 2002-08-26 03:39:22 UTC
State Changed
From-To: open->closed

Committed, thanks!