ld01 case failed wit gcc 4.6:
<<<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
# gcc -v
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/libexec/gcc/arm-poky-linux-gnueabi/4.6.1/lto-wrapper
Target: arm-poky-linux-gnueabi
Configured with: /srv/home/pokybuild/poky-slave/nightly-external/build/build/tmp/work-shared/gcc-4.6.0+svnr175150/gcc-4_6-branch/configure --build=x86_64-linux --host=arm-poky-linux-gnueabi --target=arm-poky-linux-gnueabi --prefix=/usr --exec_prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --libexecdir=/usr/libexec --datadir=/usr/share --sysconfdir=/etc --sharedstatedir=/com --localstatedir=/var --libdir=/usr/lib --includedir=/usr/include --oldincludedir=/usr/include --infodir=/usr/share/info --mandir=/usr/share/man --disable-silent-rules --with-libtool-sysroot=/srv/home/pokybuild/poky-slave/nightly-external/build/build/tmp/sysroots/qemuarm --with-gnu-ld --enable-shared --enable-languages=c,c++ --enable-threads=posix --disable-multilib --enable-c99 --enable-long-long --enable-symvers=gnu --enable-libstdcxx-pch --program-prefix=arm-poky-linux-gnueabi- --enable-target-optspace --enable-lto --enable-libssp --disable-bootstrap --disable-libgomp --disable-libmudflap --enable-cheaders=c_global --with-float=soft --with-local-prefix=/srv/home/pokybuild/poky-slave/nightly-external/build/build/tmp/sysroots/qemuarm/usr --with-gxx-include-dir=/usr/include/c++/ --enable-nls --enable-__cxa_atexit --enable-__cxa_atexit
Thread model: posix
gcc version 4.6.1 20110617 (prerelease) (GCC)
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