From: bugzilla@busybox.net
To: buildroot@uclibc.org
Subject: [Buildroot] [Bug 14191] New: patchelf v0.9 corrupt Nvidia shared libraries
Date: Fri, 03 Sep 2021 02:50:09 +0000 [thread overview]
Message-ID: <bug-14191-163@https.bugs.busybox.net/> (raw)
https://bugs.busybox.net/show_bug.cgi?id=14191
Bug ID: 14191
Summary: patchelf v0.9 corrupt Nvidia shared libraries
Product: buildroot
Version: 2021.02.3
Hardware: All
OS: Linux
Status: NEW
Severity: normal
Priority: P5
Component: Other
Assignee: unassigned@buildroot.uclibc.org
Reporter: geyunda@163.com
CC: buildroot@uclibc.org
Target Milestone: ---
Unpack the libcudnn deb archive and install the .so file to $(TARGET_DIR).
libcudnn.so.8.0.0 was corrupted after target-finalize.
I found it was caused by patchelf v0.9.
After upgrading to patchelf v0.13,it worked.
target-finalize log:
++ /home/gyd/work/hito_jetson/out/host/bin/patchelf --print-rpath
/home/gyd/work/hito_jetson/out/target/usr/lib/aarch64-linux-gnu/libcudnn.so.8.0.0
+ rpath='$ORIGIN'
+ test 0 -ne 0
++ chmod -c u+w
/home/gyd/work/hito_jetson/out/target/usr/lib/aarch64-linux-gnu/libcudnn.so.8.0.0
+ changed=
++ echo '$ORIGIN'
++ sed
's@/home/gyd/work/hito_jetson/out/per-package/[^/]\+/host@/home/gyd/work/hito_jetson/out/host@'
+ changed_rpath='$ORIGIN'
+ test '$ORIGIN' '!=' '$ORIGIN'
+ /home/gyd/work/hito_jetson/out/host/bin/patchelf --make-rpath-relative
/home/gyd/work/hito_jetson/out/target --no-standard-lib-dirs
/home/gyd/work/hito_jetson/out/target/usr/lib/aarch64-linux-gnu
/libcudnn.so.8.0.0
# ldconfig
/sbin/ldconfig.real: file /usr/lib/aarch64-linux-gnu/libcudnn.so.8.0.0 is
truncated
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
buildroot mailing list
buildroot@lists.buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
next reply other threads:[~2021-09-03 2:50 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-09-03 2:50 bugzilla [this message]
2022-07-25 8:31 ` [Buildroot] [Bug 14191] patchelf v0.9 corrupt Nvidia shared libraries bugzilla
2022-07-25 8:31 ` bugzilla
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=bug-14191-163@https.bugs.busybox.net/ \
--to=bugzilla@busybox.net \
--cc=buildroot@uclibc.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.