Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F109664158
D24535.id70948.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
2 KB
Referenced Files
None
Subscribers
None
D24535.id70948.diff
View Options
Index: cddl/contrib/opensolaris/tools/ctf/cvt/merge.c
===================================================================
--- cddl/contrib/opensolaris/tools/ctf/cvt/merge.c
+++ cddl/contrib/opensolaris/tools/ctf/cvt/merge.c
@@ -452,6 +452,10 @@
if (ed.ed_tgt->t_type == FORWARD && ctdp->t_type != FORWARD) {
int id = mcd->md_tgt->td_nextid++;
+#ifdef __FreeBSD__
+ if (CTF_TYPE_ISCHILD(id))
+ terminate("No room for additional types\n");
+#endif
debug(3, "Creating new defn type %d <%x>\n", id, id);
add_mapping(mcd->md_ta, ctdp->t_id, id);
alist_add(mcd->md_fdida, (void *)(ulong_t)ed.ed_tgt,
@@ -473,6 +477,10 @@
} else {
int id = mcd->md_tgt->td_nextid++;
+#ifdef __FreeBSD__
+ if (CTF_TYPE_ISCHILD(id))
+ terminate("No room for additional types\n");
+#endif
debug(3, "Creating new type %d <%x>\n", id, id);
add_mapping(mcd->md_ta, ctdp->t_id, id);
hash_add(mcd->md_tdtba, ctdp);
Index: cddl/contrib/opensolaris/tools/ctf/cvt/util.c
===================================================================
--- cddl/contrib/opensolaris/tools/ctf/cvt/util.c
+++ cddl/contrib/opensolaris/tools/ctf/cvt/util.c
@@ -148,17 +148,7 @@
if (getenv("CTF_ABORT_ON_TERMINATE") != NULL)
abort();
-#if defined(__FreeBSD__)
-/*
- * For the time being just output the termination message, but don't
- * return an exit status that would cause the build to fail. We need
- * to get as much stuff built as possible before going back and
- * figuring out what is wrong with certain files.
- */
- exit(0);
-#else
exit(1);
-#endif
}
/*PRINTFLIKE1*/
Index: sys/conf/Makefile.amd64
===================================================================
--- sys/conf/Makefile.amd64
+++ sys/conf/Makefile.amd64
@@ -18,7 +18,7 @@
#
# Which version of config(8) is required.
-%VERSREQ= 600012
+%VERSREQ= 600017
STD8X16FONT?= iso
Index: sys/conf/files.amd64
===================================================================
--- sys/conf/files.amd64
+++ sys/conf/files.amd64
@@ -113,7 +113,8 @@
amd64/amd64/io.c optional io
amd64/amd64/locore.S standard no-obj
amd64/amd64/xen-locore.S optional xenhvm \
- compile-with "${NORMAL_S} -g0"
+ compile-with "${NORMAL_S} -g0" \
+ no-ctfconvert
amd64/amd64/machdep.c standard
amd64/amd64/mem.c optional mem
amd64/amd64/minidump_machdep.c standard
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Feb 9, 2:45 AM (19 h, 42 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
16540999
Default Alt Text
D24535.id70948.diff (2 KB)
Attached To
Mode
D24535: config: Add no-ctfconvert support.
Attached
Detach File
Event Timeline
Log In to Comment