Details
-
Bug
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Fixed
-
None
-
Hudson version : 1.346
Warnings version : 3.4
Static Analysis Utilities : 1.4
Gcc version : 3.4.6
OS : Linux Red Hat
Description
During warnings parsing, the GCC linker warnings are not correctly detected with GNU Compiler 4 (ld) parser
A false linker error is detected and the build is set to failed (threshold set to 1 for error)
I isolated the problem in gcc log file.
You can find attached :
- gcc log file
- 3 C/C++ file associated with the log
To reproduce the problem:
- Create a Job Free Style
- Copy in the workspace the attached files
- Activate the Scan of Warnings on the log file
- Activate the GNU Compiler 4 (gcc) and GNU Compiler 4 (ld) parsers
Results:
- A linker warning is correctly detected
- A false error is incorrectly detected and failing the build
Attachments
Activity
Field | Original Value | New Value |
---|---|---|
Summary | [Warnings] False GCC4 Linker Error detected | False GCC4 Linker Error detected |
Resolution | Fixed [ 1 ] | |
Status | Open [ 1 ] | Resolved [ 5 ] |
Status | Resolved [ 5 ] | Closed [ 6 ] |
Workflow | JNJira [ 136658 ] | JNJira + In-Review [ 204155 ] |
Code changed in hudson
User: : drulli
Path:
trunk/hudson/plugins/warnings/src/test/java/hudson/plugins/warnings/parser/Gcc4CompilerParserTest.java
trunk/hudson/plugins/warnings/src/test/java/hudson/plugins/warnings/parser/Gcc4LinkerParserTest.java
trunk/hudson/plugins/warnings/src/test/resources/hudson/plugins/warnings/parser/issue6563.txt
http://jenkins-ci.org/commit/31181
Log:
JENKINS-6563Added test case.