Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
autobuild4
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
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
Forks
autobuild4
Commits
46e02943
Commit
46e02943
authored
1 year ago
by
Mingcong Bai
Browse files
Options
Downloads
Patches
Plain Diff
fix(elf): disable eu-strip for now
eu-strip seems to mis-strip .o relocatables.
parent
1a5cb312
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
filters/elf.sh
+2
-6
2 additions, 6 deletions
filters/elf.sh
with
2 additions
and
6 deletions
filters/elf.sh
+
2
−
6
View file @
46e02943
...
...
@@ -7,22 +7,18 @@ filter_elf() {
if
!
bool
"
$ABSTRIP
"
;
then
abinfo
'Not stripping ELF binaries as requested.'
_opts+
=(
'-r'
)
elif
!
bool
"
$ABSPLITDBG
"
;
then
elif
!
bool
"
$ABSPLITDBG
"
;
then
abinfo
'Not splitting ELF binaries as requested.'
_opts+
=(
'-x'
)
fi
if
command
-v
eu-strip
>
/dev/null
;
then
_opts+
=(
'-e'
)
fi
local
_elf_path
=()
for
i
in
"
$PKGDIR
"
/
{
opt/
*
/
*
/,opt/
*
/,usr/,
}{
lib
{
,64,exec
}
,
{
s,
}
bin
}
/
;
do
if
[
-d
"
$i
"
]
;
then
_elf_path+
=(
"
$i
"
)
fi
done
abelf_copy_dbg_parallel
"
${
_opts
[@]
}
"
"
${
_elf_path
[@]
}
"
"
${
SYMDIR
}
"
}
...
...
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