On Sat, Jul 11, 2015 at 10:29 AM, John-Mark Gurney <[email protected]> wrote:

> Craig Rodrigues wrote this message on Sat, Jul 11, 2015 at 10:16 -0400:
>
> > So it looks like _libmd_SHA256_File is not defined in the legacy
> > library used during the bootstrap.
>
> The closest I can see is that sha256hl.c (from mdXhl.c) is including
> "sha256.h" with double quotes, and getting the wrong header file..
>
>
Yes, I think you are right.

If I go to src/lib/libmd, and type:

make -V CFLAGS

I see:

-O2 -pipe   -I/builds/FreeBSD_HEAD/lib/libmd -DWEAK_REFS -std=gnu99
-Qunused-arguments  -fstack-protector -Wno-pointer-sign -Wno-empty-body
-Wno-string-plus-int -Wno-unused-const-variable -Wno-tautological-compare
-Wno-unused-value -Wno-parentheses-equality -Wno-unused-function
-Wno-enum-conversion -Wno-switch -Wno-switch-enum
-Wno-knr-promoted-parameter -Wno-parentheses

After your change, there is no sha256.h file in the src/lib/libmd
directory, so the bootstrap stage
is picking up sha256.h from /usr/include , which causes problems.
--
Craig
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "[email protected]"

Reply via email to