bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#36172: 27.0.50; linking error in git head on macos: _aligned_alloc


From: Paul Eggert
Subject: bug#36172: 27.0.50; linking error in git head on macos: _aligned_alloc
Date: Tue, 11 Jun 2019 13:08:15 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.7.0

'configure' says you have aligned_alloc, because it successfully built an executable that calls aligned_alloc. However, the dynamic linker fails, in that when temacs runs and calls aligned_alloc, its dynamic linker fails to find an implementation. Please figure out why that is. For example, you can compile and run this program with the same flags you use to compile Emacs:

  #include <stdlib.h>

  int
  main (int argc, char **argv)
  {
    char *p = aligned_alloc (8, 1);
    char *q = aligned_alloc (8, 2);
    return p && q && p == q;
  }

If it compiles and runs successfully, you can then investigate why it works but temacs doesn't. Otherwise, you can investigate why it doesn't work.






reply via email to

[Prev in Thread] Current Thread [Next in Thread]