pkgsrc-Bugs archive

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

Re: pkg/53900 (databases/db5 does not build on evbarm)



The following reply was made to PR pkg/53900; it has been noted by GNATS.

From: "David H. Gutteridge" <david%gutteridge.ca@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc: 
Subject: Re: pkg/53900 (databases/db5 does not build on evbarm)
Date: Mon, 28 Jan 2019 00:00:20 -0500

 I gather the issue is that the configure script (and so the mutex.m4
 this part is generated from) is out of date, and doesn't match
 __aarch64__ in its tests to determine how to provide mutex support. I
 don't know the distinctions of ARM assembly, so this may not work for
 you, but you could try simply patching the configure script like so:
 
 --- configure.bak
 +++ configure
 @@ -21780,7 +21780,7 @@
  main ()
  {
  
 -#if defined(__arm__) && defined(__GNUC__)
 +#if (defined(__arm__) || defined(__aarch64__)) && defined(__GNUC__)
         exit(0);
  #else
         FAIL TO COMPILE/LINK
 
 (This leads to the use of specific assembly code found in src/dbinc/
 mutex_int.h at line 470.)
 
 I hope this helps. I don't have any such hardware to test on,
 unfortunately.
 
 Dave
 
 


Home | Main Index | Thread Index | Old Index