Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fail to generate abiconv.syms #3

Open
jserv opened this issue Sep 19, 2022 · 0 comments
Open

Fail to generate abiconv.syms #3

jserv opened this issue Sep 19, 2022 · 0 comments

Comments

@jserv
Copy link

jserv commented Sep 19, 2022

After install nasm and llvm (see #2), I fail to generate abiconv.syms:

...
Consolidate compiler generated dependencies of target custom_conv_execvp
[ 15%] Built target custom_conv_execvp
[ 15%] Generating abiconv.syms
make[2]: *** [src/abiconv/abiconv.syms] Error 1

Then, I attempted to re-build with make VERBOSE=1 and figure out the problem resulting from the use of objdump. Here is the proposed change against src/abiconv/print_exports_trie.sh:

@@ -22,5 +22,5 @@ done
 shift $((OPTIND-1))
 
 for LIBPATH in "$@"; do
-    objdump -exports-trie "$LIBPATH" | tr -s " " | cut -f 2 -d " " | grep "^_"
+    llvm-objdump --macho --exports-trie "$LIBPATH" | tr -s " " | cut -f 2 -d " " | grep "^_"
 done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants
@jserv and others