There is probably something wrong with this test program.  If it is compiled
without function/data sections, no optimization, and no linker garbage
collection, then there is an undefined reference to atan2() and tan().  Fix
this issue by adding -lm.
---
 spec/build/testsuites/libtests/dl06.yml | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/spec/build/testsuites/libtests/dl06.yml 
b/spec/build/testsuites/libtests/dl06.yml
index 2f5d4ab08d..e1bbd006c9 100644
--- a/spec/build/testsuites/libtests/dl06.yml
+++ b/spec/build/testsuites/libtests/dl06.yml
@@ -42,7 +42,8 @@ ldflags: []
 links: []
 prepare-build: null
 prepare-configure: null
-stlib: []
+stlib:
+- m
 type: build
 use-after: []
 use-before: []
-- 
2.26.2

_______________________________________________
devel mailing list
devel@rtems.org
http://lists.rtems.org/mailman/listinfo/devel

Reply via email to