-
Notifications
You must be signed in to change notification settings - Fork 91
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
binutils: Update to latest and update configs (#4575)
Changes: - Link against jansson to enable ELF_PACKAGE_METADATA - Default to compressing debug symbols and set default compression algorithm to zstd - Use BLAKE3 for hashing when using the --build-id=md5 or --build-id=sha1 flags - Switch to RUNPATH over RPATH - Add `--with-zstd` flag so the build fails if somehow it can't use zstd (really important now) - Fix gprofng stateless - Move gprofng shared libs back into main binutils package - Split out the devel files to -devel
- Loading branch information
Showing
12 changed files
with
507 additions
and
60 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,9 @@ | ||
UNKNOWN | ||
ld-linux-x86-64.so.2 | ||
libblake3.so.0 | ||
libc.so.6 | ||
libgcc_s.so.1 | ||
libjansson.so.4 | ||
libstdc++.so.6 | ||
libz.so.1 | ||
libzstd.so.1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 | ||
From: Reilly Brogan <[email protected]> | ||
Date: Fri, 13 Dec 2024 12:42:26 -0600 | ||
Subject: [PATCH] Proper stateless | ||
|
||
--- | ||
gprofng/src/Settings.cc | 21 +++++++++++++++------ | ||
1 file changed, 15 insertions(+), 6 deletions(-) | ||
|
||
diff --git a/gprofng/src/Settings.cc b/gprofng/src/Settings.cc | ||
index 6d1d357a17..d62c5fdacb 100644 | ||
--- a/gprofng/src/Settings.cc | ||
+++ b/gprofng/src/Settings.cc | ||
@@ -413,13 +413,22 @@ Settings::read_rc (bool ipc_or_rdt_mode) | ||
rc_path = dbe_sprintf (NTXT ("%s/gprofng.rc"), sysconfdir); | ||
if (access (rc_path, R_OK | F_OK) != 0) | ||
{ | ||
- StringBuilder sb; | ||
- sb.sprintf (GTXT ("Warning: Default gprofng.rc file (%s) missing; configuration error "), rc_path); | ||
- Emsg *m = new Emsg (CMSG_COMMENT, sb); | ||
- app->get_comments_queue ()->append (m); | ||
+ free (rc_path); | ||
+ // Read vendor file | ||
+ const char *vendordir = getenv("GPROFNG_VENDORDIR"); | ||
+ if (vendordir == NULL) | ||
+ vendordir = "/usr/share/defaults/gprofng"; | ||
+ rc_path = dbe_sprintf (NTXT ("%s/gprofng.rc"), vendordir); | ||
+ if (access (rc_path, R_OK | F_OK) != 0) | ||
+ { | ||
+ StringBuilder sb; | ||
+ sb.sprintf (GTXT ("Warning: Default gprofng.rc file (%s) missing; configuration error "), rc_path); | ||
+ Emsg *m = new Emsg (CMSG_COMMENT, sb); | ||
+ app->get_comments_queue ()->append (m); | ||
+ } | ||
+ else | ||
+ set_rc (rc_path, false, app->get_comments_queue (), override); | ||
} | ||
- else | ||
- set_rc (rc_path, false, app->get_comments_queue (), override); | ||
free (rc_path); | ||
is_loexpand_default = true; | ||
if (str_printmode == NULL) |
Oops, something went wrong.