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

libevent configure failed #44

Open
jackleesec opened this issue Sep 3, 2020 · 0 comments
Open

libevent configure failed #44

jackleesec opened this issue Sep 3, 2020 · 0 comments

Comments

@jackleesec
Copy link

Hi, When I try to compile libevent, it got error just at configure:

configure:3510: checking whether the C compiler works
configure:3532: /usr/local/popcorn/bin/clang -target aarch64-linux-gnu -popcorn-alignment   conftest.c  >&5
/usr/local/popcorn/bin/ld: internal error in global, at ../../gold/aarch64.cc:6228
clang-3.7: error: linker command failed with exit code 1 (use -v to see invocation)
configure:3536: $? = 1
configure:3574: result: no
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define PACKAGE "libevent"
| #define VERSION "2.0.21-stable"
| #define NUMERIC_VERSION 0x02001500
| /* end confdefs.h.  */
|
| int
| main ()
| {
|
|   ;
|   return 0;
| }
configure:3579: error: in `/root/dir/libs/libevent-2.0.21-stable':
configure:3581: error: C compiler cannot create executables
See `config.log' for more details

## ---------------- ##

How can I fix it?

I used this command:

./configure --prefix=/usr/local/popcorn/aarch64 --host=aarch64-linux-gnu --disable-shared CC=/usr/local/popcorn/bin/clang CFLAGS='-target aarch64-linux-gnu'
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

1 participant