Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
L
lalsuite-archive
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Oliver Behnke
lalsuite-archive
Commits
3529103a
Commit
3529103a
authored
12 years ago
by
Bernd Machenschalk
Browse files
Options
Downloads
Patches
Plain Diff
Try something different: try to dlopen("libgcc_s.so.1") in the program
This reverts commit
46322af6
.
parent
46322af6
No related branches found
Tags
einstein_S6LV1_1.15
Tags containing commit
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
lalapps/src/pulsar/hough/src2/EinsteinAtHome/eah_build2.sh
+2
-2
2 additions, 2 deletions
lalapps/src/pulsar/hough/src2/EinsteinAtHome/eah_build2.sh
lalapps/src/pulsar/hough/src2/EinsteinAtHome/hs_boinc_extras.c
+17
-0
17 additions, 0 deletions
...ps/src/pulsar/hough/src2/EinsteinAtHome/hs_boinc_extras.c
with
19 additions
and
2 deletions
lalapps/src/pulsar/hough/src2/EinsteinAtHome/eah_build2.sh
+
2
−
2
View file @
3529103a
...
...
@@ -252,9 +252,9 @@ else
WITH_SSL
=
"--with-ssl=
$ssldir
"
fi
if
[
".
$release
"
=
".true"
]
;
then
CPPFLAGS
=
"-DEXT_STACKTRACE -I
$INSTALL
/include/bfd
$CPPFLAGS
"
CPPFLAGS
=
"
-DDLOPEN_LIBGCC
-DEXT_STACKTRACE -I
$INSTALL
/include/bfd
$CPPFLAGS
"
export
RELEASE_DEPS
=
"erp_execinfo_plus.o libstdc++.a libz.a"
export
RELEASE_LDADD
=
"erp_execinfo_plus.o -lbfd -liberty
/lib/libgcc_s.so.1
"
export
RELEASE_LDADD
=
"erp_execinfo_plus.o -lbfd -liberty
-ldl
"
build_binutils
=
true
enable_linux_compatibility_workarounds
=
true
fi
;;
...
...
This diff is collapsed.
Click to expand it.
lalapps/src/pulsar/hough/src2/EinsteinAtHome/hs_boinc_extras.c
+
17
−
0
View file @
3529103a
...
...
@@ -69,6 +69,11 @@
#include
<gnu/libc-version.h>
#endif
/* try to dlopen("libgcc_s.so.1") */
#ifdef DLOPEN_LIBGCC
#include
<dlfcn.h>
#endif
/* our own exception handler / runtime debugger */
#if HAVE_EXCHNDL
#include
"exchndl.h"
...
...
@@ -1098,6 +1103,18 @@ static void worker (void) {
LogPrintf
(
LOG_DEBUG
,
"glibc version/release: %s/%s
\n
"
,
gnu_get_libc_version
(),
gnu_get_libc_release
());
#endif
#ifdef DLOPEN_LIBGCC
{
void
*
lib_handle
=
dlopen
(
"libgcc_s.so.1"
,
RTLD_LAZY
);
if
(
lib_handle
)
{
LogPrintf
(
LOG_DEBUG
,
"Successfully loaded libgcc_s.so.1
\n
"
);
/* dlclose(lib_handle); */
}
else
{
LogPrintf
(
LOG_DEBUG
,
"Couldn't load libgcc_s.so.1: %s
\n
"
,
dlerror
());
}
}
#endif
/* if there already was an error, there is no use in continuing */
if
(
res
)
{
LogPrintf
(
LOG_CRITICAL
,
"ERROR: error %d in command-line parsing
\n
"
,
res
);
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment