| Summary: | [LTP] 'ld' case failed with Yocto 1.1 M1 build | ||
|---|---|---|---|
| Product: | [Build System, Metadata & Runtime] OE-Core | Reporter: | Yi Zhao <yi.zhao> |
| Component: | devtools / tool chain | Assignee: | Nitin Kamble <nitin.a.kamble> |
| Status: | RESOLVED NOTABUG | QA Contact: | |
| Severity: | normal | ||
| Priority: | Medium | CC: | dvhart, jessica.zhang, jiajun.xu, liang.li2, meta.mr.watcher, meta.watcher, sgw, yi.zhao, yp.kernel.watcher, yp.watcher |
| Version: | 1.0 | ||
| Target Milestone: | 1.1 | ||
| Hardware: | x86 | ||
| OS: | Multiple | ||
| Whiteboard: | |||
| OS type for building Yocto: | --- | Type of Regression: | --- |
| Verified: | Documentation change: | --- | |
|
Description
Yi Zhao
2011-06-13 00:00:12 UTC
any particular reason your are not using latest ltp-full-20110606.bz2 ? Looks like the gcc 4.6 has changed the error messages a bit as seen here: < gcc: error: x.obj: No such file or directory < gcc: error: y.obj: No such file or directory < gcc: fatal error: no input files < compilation terminated. --- > gcc: x.obj: No such file or directory > gcc: y.obj: No such file or directory > gcc: No input files While gcc 4.5 was giving as expected error messages, and gcc 4.6 is giving errors slightly differently. Possibly ltp test scripts need to be updated accordingly. Similer error also comes for assertions # 4 for the testcase: Assertion 4 .................. 1,3c1,2 < gcc: error: bad/x.obj: No such file or directory < gcc: fatal error: no input files < compilation terminated. --- > gcc: bad/x.obj: No such file or directory > gcc: No input files FAIL - ld failed to give expected error msg Thanks, Nitin This need fixing LTP, as I talked with gcc person and he says that gcc is fine. I re-test this case with ltp-20110606 on 1.1 M2 RC3 build. This issue also happened.
##########
<<<test_start>>>
tag=ld stime=1311304706
cmdline="export TCdat=$LTPROOT/testcases/bin; ld01"
contacts=""
analysis=exit
<<<test_output>>>
Assertion 1 ..................
-)
Assertion 2 ..................
1,4c1,3
< gcc: error: x.obj: No such file or directory
< gcc: error: y.obj: No such file or directory
< gcc: fatal error: no input files
< compilation terminated.
---
> gcc: x.obj: No such file or directory
> gcc: y.obj: No such file or directory
> gcc: No input files
FAIL - ld failed to give expected error msg
####################
I checked the testcases/commands/ade/ld/ld01 scripts, it is same with 20101031
Yi Zhao, As I mentioned earlier LTP need to be updated to reflect new error messages. It is not an issue with ld or gcc. Nitin (In reply to comment #5) > Yi Zhao, > As I mentioned earlier LTP need to be updated to reflect new error messages. > It is not an issue with ld or gcc. > Nitin Thanks, Nitin. I think we could mark the bug as "NOTABUG" now since it's not gcc related. Hi Yi, Could you help to report the issue out to LTP mailing list. marking it as notabug as discussed before. |