pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

OpenROAD: -ldl to be avoided on BSDs, should be the only open issue



Module Name:	pkgsrc-wip
Committed By:	mayuresh <mayuresh%acm.org@localhost>
Pushed By:	mayuresh
Date:		Fri Sep 13 22:14:43 2024 +0530
Changeset:	44e3a7c7c596bb75cae4c9122dcd7c125a4b541b

Modified Files:
	OpenROAD/Makefile
	OpenROAD/TODO

Log Message:
OpenROAD: -ldl to be avoided on BSDs, should be the only open issue

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=44e3a7c7c596bb75cae4c9122dcd7c125a4b541b

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 OpenROAD/Makefile |  1 +
 OpenROAD/TODO     | 15 +--------------
 2 files changed, 2 insertions(+), 14 deletions(-)

diffs:
diff --git a/OpenROAD/Makefile b/OpenROAD/Makefile
index bea695b1f5..d4e14af37c 100644
--- a/OpenROAD/Makefile
+++ b/OpenROAD/Makefile
@@ -19,6 +19,7 @@ CXXFLAGS+=	-I${PREFIX}/include/eigen3
 CXXFLAGS+=	-I${PREFIX}/include/sta
 CXXFLAGS+=	-I${PREFIX}/include/abc
 CXXFLAGS+=	-DABC_NAMESPACE=abc
+CXXFLAGS+=	-DBOOST_STACKTRACE_GNU_SOURCE_NOT_REQUIRED
 
 GCC_REQD+=	13
 FORCE_CXX_STD=	c++20
diff --git a/OpenROAD/TODO b/OpenROAD/TODO
index 97d925b924..6fde6285a0 100644
--- a/OpenROAD/TODO
+++ b/OpenROAD/TODO
@@ -1,14 +1 @@
-cmake progress reaches 100% after which the following error occurs:
-
-In file included from /usr/pkg/include/boost/stacktrace/safe_dump_to.hpp:221,
-                 from /usr/pkg/include/boost/stacktrace/frame.hpp:18,
-                 from /usr/pkg/include/boost/stacktrace.hpp:15,
-                 from /usr/pkgsrc/work/wip/OpenROAD/work/OpenROAD-24Q3/src/Main.cc:40:
-/usr/pkg/include/boost/stacktrace/detail/collect_unwind.ipp:33:2: error: #error "Boost.Stacktrace requires `_Unwind_Backtrace` function. Define `_GNU_SOURCE` macro or `BOOST_STACKTRACE_GNU_SOURCE_NOT_REQUIRED` if _Unwind_Backtrace is available without `_GNU_SOURCE`."
-   33 | #error "Boost.Stacktrace requires `_Unwind_Backtrace` function. Define `_GNU_SOURCE` macro or `BOOST_STACKTRACE_GNU_SOURCE_NOT_REQUIRED` if _Unwind_Backtrace is available without `_GNU_SOURCE`."
-      |  ^~~~~
-gmake[2]: *** [src/CMakeFiles/openroad.dir/build.make:132: src/CMakeFiles/openroad.dir/Main.cc.o] Error 1
-gmake[1]: *** [CMakeFiles/Makefile2:1770: src/CMakeFiles/openroad.dir/all] Error 2
-gmake: *** [Makefile:136: all] Error 2
-*** Error code 2
-
+Open issue: -ldl to be avoided on BSD


Home | Main Index | Thread Index | Old Index