* Build error in CryptoPkg on FreeBSD
@ 2019-06-05 1:52 rebecca
2019-06-05 5:35 ` [edk2-devel] " Wang, Jian J
0 siblings, 1 reply; 2+ messages in thread
From: rebecca @ 2019-06-05 1:52 UTC (permalink / raw)
To: devel@edk2.groups.io; +Cc: Jian Wang, Ting Ye
I know it's not an officially supported platform, but a recent update
has broken building CryptoPkg under FreeBSD. I've tried building both
Armada80x0McBin (shown below) and OvmfPkg, and both fail.
"/usr/local/bin/aarch64-unknown-freebsd13.0-gcc"
@/home/bcran/workspace/Build/Armada80x0McBin-AARCH64/DEBUG_GCC5/AARCH64/CryptoPkg/Library/OpensslLib/OpensslLib/OUTPUT/cc_resp.txt
-c -o
/home/bcran/workspace/Build/Armada80x0McBin-AARCH64/DEBUG_GCC5/AARCH64/CryptoPkg/Library/OpensslLib/OpensslLib/OUTPUT/openssl/crypto/rand/rand_unix.obj
/home/bcran/workspace/edk2/CryptoPkg/Library/OpensslLib/openssl/crypto/rand/rand_unix.c
In file included from
/home/bcran/workspace/edk2/CryptoPkg/Library/OpensslLib/openssl/crypto/rand/rand_unix.c:26:0:
/usr/include/sys/sysctl.h:1120:25: error: unknown type name 'u_int'
int sysctl(const int *, u_int, void *, size_t *, const void *, size_t);
^~~~~
In file included from /usr/include/sys/signal.h:53:0,
from /usr/include/sys/param.h:139,
from
/home/bcran/workspace/edk2/CryptoPkg/Library/OpensslLib/openssl/crypto/rand/rand_unix.c:27:
/usr/include/sys/_timespec.h:42:18: error: conflicting types for 'time_t'
typedef __time_t time_t;
^~~~~~
In file included from
/home/bcran/workspace/edk2/CryptoPkg/Library/Include/limits.h:9:0,
from
/home/bcran/workspace/edk2/CryptoPkg/Library/OpensslLib/openssl/e_os.h:13,
from
/home/bcran/workspace/edk2/CryptoPkg/Library/OpensslLib/openssl/crypto/rand/rand_unix.c:13:
/home/bcran/workspace/edk2/CryptoPkg/Library/Include/CrtLibSupport.h:88:24:
note: previous declaration of 'time_t' was here
typedef INT32 time_t;
^~~~~~
In file included from /usr/include/sys/param.h:139:0,
from
/home/bcran/workspace/edk2/CryptoPkg/Library/OpensslLib/openssl/crypto/rand/rand_unix.c:27:
/usr/include/sys/signal.h:56:18: error: conflicting types for 'size_t'
typedef __size_t size_t;
^~~~~~
In file included from
/home/bcran/workspace/edk2/CryptoPkg/Library/Include/limits.h:9:0,
from
/home/bcran/workspace/edk2/CryptoPkg/Library/OpensslLib/openssl/e_os.h:13,
from
/home/bcran/workspace/edk2/CryptoPkg/Library/OpensslLib/openssl/crypto/rand/rand_unix.c:13:
/home/bcran/workspace/edk2/CryptoPkg/Library/Include/CrtLibSupport.h:86:24:
note: previous declaration of 'size_t' was here
typedef UINTN size_t;
^~~~~~
make: *** [GNUmakefile:24956:
/home/bcran/workspace/Build/Armada80x0McBin-AARCH64/DEBUG_GCC5/AARCH64/CryptoPkg/Library/OpensslLib/OpensslLib/OUTPUT/openssl/crypto/rand/rand_unix.obj]
Error 1
--
Rebecca Cran
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [edk2-devel] Build error in CryptoPkg on FreeBSD
2019-06-05 1:52 Build error in CryptoPkg on FreeBSD rebecca
@ 2019-06-05 5:35 ` Wang, Jian J
0 siblings, 0 replies; 2+ messages in thread
From: Wang, Jian J @ 2019-06-05 5:35 UTC (permalink / raw)
To: devel@edk2.groups.io, rebecca@bluestop.org; +Cc: Ye, Ting
Rebecca,
You may help to fix it. We don't have FreeBSD machine and are not familiar with
build env in it.
Regards,
Jian
> -----Original Message-----
> From: devel@edk2.groups.io [mailto:devel@edk2.groups.io] On Behalf Of
> rebecca@bluestop.org
> Sent: Wednesday, June 05, 2019 9:52 AM
> To: devel@edk2.groups.io
> Cc: Wang, Jian J <jian.j.wang@intel.com>; Ye, Ting <ting.ye@intel.com>
> Subject: [edk2-devel] Build error in CryptoPkg on FreeBSD
>
> I know it's not an officially supported platform, but a recent update
> has broken building CryptoPkg under FreeBSD. I've tried building both
> Armada80x0McBin (shown below) and OvmfPkg, and both fail.
>
>
> "/usr/local/bin/aarch64-unknown-freebsd13.0-gcc"
> @/home/bcran/workspace/Build/Armada80x0McBin-
> AARCH64/DEBUG_GCC5/AARCH64/CryptoPkg/Library/OpensslLib/OpensslLib/O
> UTPUT/cc_resp.txt
> -c -o
> /home/bcran/workspace/Build/Armada80x0McBin-
> AARCH64/DEBUG_GCC5/AARCH64/CryptoPkg/Library/OpensslLib/OpensslLib/O
> UTPUT/openssl/crypto/rand/rand_unix.obj
> /home/bcran/workspace/edk2/CryptoPkg/Library/OpensslLib/openssl/crypto/ra
> nd/rand_unix.c
> In file included from
> /home/bcran/workspace/edk2/CryptoPkg/Library/OpensslLib/openssl/crypto/ra
> nd/rand_unix.c:26:0:
> /usr/include/sys/sysctl.h:1120:25: error: unknown type name 'u_int'
> int sysctl(const int *, u_int, void *, size_t *, const void *, size_t);
> ^~~~~
> In file included from /usr/include/sys/signal.h:53:0,
> from /usr/include/sys/param.h:139,
> from
> /home/bcran/workspace/edk2/CryptoPkg/Library/OpensslLib/openssl/crypto/ra
> nd/rand_unix.c:27:
> /usr/include/sys/_timespec.h:42:18: error: conflicting types for 'time_t'
> typedef __time_t time_t;
> ^~~~~~
> In file included from
> /home/bcran/workspace/edk2/CryptoPkg/Library/Include/limits.h:9:0,
> from
> /home/bcran/workspace/edk2/CryptoPkg/Library/OpensslLib/openssl/e_os.h:1
> 3,
> from
> /home/bcran/workspace/edk2/CryptoPkg/Library/OpensslLib/openssl/crypto/ra
> nd/rand_unix.c:13:
> /home/bcran/workspace/edk2/CryptoPkg/Library/Include/CrtLibSupport.h:88:2
> 4:
> note: previous declaration of 'time_t' was here
> typedef INT32 time_t;
> ^~~~~~
> In file included from /usr/include/sys/param.h:139:0,
> from
> /home/bcran/workspace/edk2/CryptoPkg/Library/OpensslLib/openssl/crypto/ra
> nd/rand_unix.c:27:
> /usr/include/sys/signal.h:56:18: error: conflicting types for 'size_t'
> typedef __size_t size_t;
> ^~~~~~
> In file included from
> /home/bcran/workspace/edk2/CryptoPkg/Library/Include/limits.h:9:0,
> from
> /home/bcran/workspace/edk2/CryptoPkg/Library/OpensslLib/openssl/e_os.h:1
> 3,
> from
> /home/bcran/workspace/edk2/CryptoPkg/Library/OpensslLib/openssl/crypto/ra
> nd/rand_unix.c:13:
> /home/bcran/workspace/edk2/CryptoPkg/Library/Include/CrtLibSupport.h:86:2
> 4:
> note: previous declaration of 'size_t' was here
> typedef UINTN size_t;
> ^~~~~~
> make: *** [GNUmakefile:24956:
> /home/bcran/workspace/Build/Armada80x0McBin-
> AARCH64/DEBUG_GCC5/AARCH64/CryptoPkg/Library/OpensslLib/OpensslLib/O
> UTPUT/openssl/crypto/rand/rand_unix.obj]
> Error 1
>
>
> --
> Rebecca Cran
>
>
>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2019-06-05 5:36 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-06-05 1:52 Build error in CryptoPkg on FreeBSD rebecca
2019-06-05 5:35 ` [edk2-devel] " Wang, Jian J
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox