diff options
author | Gary V. Vaughan <gary@gnu.org> | 2013-12-23 18:58:31 +1300 |
---|---|---|
committer | Gary V. Vaughan <gary@gnu.org> | 2014-01-02 12:06:30 +1300 |
commit | 8d285ed54b9b9b307e8fe1a25ba9e624eab93b8d (patch) | |
tree | 10d39af85f4b810b76eaa79f39d070381d9e58ee /tests | |
parent | 7f99bfd86c97038b73a1e5d1445ef31c6ec59983 (diff) | |
download | libtool-8d285ed54b9b9b307e8fe1a25ba9e624eab93b8d.tar.gz |
testsuite: with SunStudio12.x f77, don't fail on system symbols
Modern SunStudio f77 is just a wrapper for f90, which
explains why current master fails these test groups with:
Undefined first referenced
symbol in file
__f90_slw_ch .libs/foof2.o
__f90_sslw .libs/foof2.o
__f90_eslw .libs/foof2.o
ld: fatal: symbol referencing errors. No output written to
.libs/libfoo2.so.0.0.0
So we allow some undefined symbols in the libraries, which are
resolved by the $(FLIBS) added to the final binaries in the tests.
This seems like the simpler, and less error inducing solution to
me (compared to adding $(FLIBS) to every library LDFLAGS line).
* tests/f77demo.at (libfoo_la_LDFLAGS, libfoo2_la_LDFLAGS)
(libfoo3_la_LDFLAGS, libmix_la_LDFLAGS): Remove -no-undefined
flag.
* tests/fcdemo.at: Likewise.
Signed-off-by: Gary V. Vaughan <gary@gnu.org>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/f77demo.at | 4 | ||||
-rw-r--r-- | tests/fcdemo.at | 4 |
2 files changed, 0 insertions, 8 deletions
diff --git a/tests/f77demo.at b/tests/f77demo.at index d30c1c72..46dd395f 100644 --- a/tests/f77demo.at +++ b/tests/f77demo.at @@ -63,17 +63,13 @@ ACLOCAL_AMFLAGS = -I m4 lib_LTLIBRARIES = libfoo.la libmix.la libfoo2.la libfoo3.la libfoo_la_SOURCES = foof.f -libfoo_la_LDFLAGS = -no-undefined libfoo_la_LIBADD = libfoo2.la libfoo2_la_SOURCES = foof2.f -libfoo2_la_LDFLAGS = -no-undefined libfoo3_la_SOURCES = foof3.f -libfoo3_la_LDFLAGS = -no-undefined libmix_la_SOURCES = foof.f foof2.f fooc.c -libmix_la_LDFLAGS = -no-undefined noinst_HEADERS = foo.h diff --git a/tests/fcdemo.at b/tests/fcdemo.at index ff397688..0e35899b 100644 --- a/tests/fcdemo.at +++ b/tests/fcdemo.at @@ -67,17 +67,13 @@ ACLOCAL_AMFLAGS = -I m4 lib_LTLIBRARIES = libfoo.la libmix.la libfoo2.la libfoo3.la libfoo_la_SOURCES = foof.f90 -libfoo_la_LDFLAGS = -no-undefined libfoo_la_LIBADD = libfoo2.la libfoo2_la_SOURCES = foof2.f90 -libfoo2_la_LDFLAGS = -no-undefined libfoo3_la_SOURCES = foof3.f90 -libfoo3_la_LDFLAGS = -no-undefined libmix_la_SOURCES = foof.f90 foof2.f90 fooc.c -libmix_la_LDFLAGS = -no-undefined noinst_HEADERS = foo.h |