other/3862: During the build process, gccbug is installed using $(INSTALL_PROGRAM) instead of $(INSTALL_SCRIPT)
fenix@io.com
fenix@io.com
Sat Jul 28 15:26:00 GMT 2001
>Number: 3862
>Category: other
>Synopsis: During the build process, gccbug is installed using $(INSTALL_PROGRAM) instead of $(INSTALL_SCRIPT)
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: unassigned
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sat Jul 28 15:26:00 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator: fenix@io.com
>Release: gcc-3.0
>Organization:
>Environment:
cygwin
>Description:
While building gcc, I tried passing INSTALL_PROGRAM_ARGS="-s" to make in order to strip executables when they are installed. The gccbug shell script is not an executable, but it adds the -s option anyway so strip fails with an "unknown format" error. It should not be trying to strip a shell script. It tries because the line to install gccbug uses the $(INSTALL_PROGRAM) variable instead of the $(INSTALL_SCRIPT) variable.
>How-To-Repeat:
after configuring gcc and making all, use make install INSTALL_PROGRAM_ARGS="-s" and it should fail when trying to install gccbug
>Fix:
I have attached a patch which I believe fixes the problem.
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the Gcc-bugs
mailing list