From Bugzilla Helper: User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.1) Gecko/20021003 Description of problem: The following fails to strip the target file: strip --strip-debug -R .comment $file While strip --strip-debug $file && strip -R .comment $file works as expected. Version-Release number of selected component (if applicable): How reproducible: Always Steps to Reproduce: 1.execute strip --strip-debug -R .comment $file 2.Check the target file, it is not stripped. 3. Actual Results: The given file contains no debug symbols, and processing appears to stop at that point.The -R .comment flag appears to be ignored. The man page indicates that --strip-debug removes debugging symbols only, but makes no mention of ignoring any remaining flags. Expected Results: The .comment field should have been stripped. Additional info: This is entered at the request of a Red Hat developer. While building an rpm package, I found that the executables were not stripped. The command used in the specfile is: strip --strip-debug -R .comment $file Changing the command to: --strip-debug $file && strip -R .comment $file Works as expected.
Can't reproduce this with binutils-2.15.91.0.2-8. Assume it is fixed.