<html>
    <head>
      <base href="https://bugs.freedesktop.org/">
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_REOPENED "
   title="REOPENED - System freeze with Kernels > 4.11.x (freeze on 4.12.x and 4.13.x)"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=102586#c45">Comment # 45</a>
              on <a class="bz_bug_link 
          bz_status_REOPENED "
   title="REOPENED - System freeze with Kernels > 4.11.x (freeze on 4.12.x and 4.13.x)"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=102586">bug 102586</a>
              from <span class="vcard"><a class="email" href="mailto:wwfoster@gmail.com" title="sadsfae <wwfoster@gmail.com>"> <span class="fn">sadsfae</span></a>
</span></b>
        <pre>(In reply to sadsfae from <a href="show_bug.cgi?id=102586#c44">comment #44</a>)
<span class="quote">> (In reply to sadsfae from <a href="show_bug.cgi?id=102586#c43">comment #43</a>)
> > I'm having some trouble building the x509 / crypto parts with the current
> > git checkout, maybe I'm doing something wrong, any ideas?
> > 
> > (latest Fedora 28 packages)
> > gcc-8.1.1-1.fc28.x86_64
> > make-4.2.1-6.fc28.x86_64
> > automake-1.15.1-5.fc28.noarch
> > 
> > --snip--
> >   CHK     include/config/kernel.release
> >   CHK     include/generated/uapi/linux/version.h
> >   CHK     include/generated/utsrelease.h
> >   CHK     include/generated/bounds.h
> >   CHK     include/generated/timeconst.h
> >   CHK     include/generated/asm-offsets.h
> >   CALL    scripts/checksyscalls.sh
> >   DESCEND  objtool
> >   CHK     scripts/mod/devicetable-offsets.h
> >   CHK     include/generated/compile.h
> >   CC      crypto/asymmetric_keys/x509_cert_parser.o
> > crypto/asymmetric_keys/x509_cert_parser.c: In function ‘x509_cert_parse’:
> > crypto/asymmetric_keys/x509_cert_parser.c:89:8: error: implicit declaration
> > of function ‘asn1_ber_decoder’ [-Werror=implicit-function-declaration]
> >   ret = asn1_ber_decoder(&x509_decoder, ctx, data, datalen);
> >         ^~~~~~~~~~~~~~~~
> > crypto/asymmetric_keys/x509_cert_parser.c:89:26: error: ‘x509_decoder’
> > undeclared (first use in this function); did you mean ‘x509_decode_time’?
> >   ret = asn1_ber_decoder(&x509_decoder, ctx, data, datalen);
> >                           ^~~~~~~~~~~~
> >                           x509_decode_time
> > crypto/asymmetric_keys/x509_cert_parser.c:89:26: note: each undeclared
> > identifier is reported only once for each function it appears in
> > crypto/asymmetric_keys/x509_cert_parser.c:97:27: error: ‘x509_akid_decoder’
> > undeclared (first use in this function)
> >    ret = asn1_ber_decoder(&x509_akid_decoder, ctx,
> >                            ^~~~~~~~~~~~~~~~~
> > crypto/asymmetric_keys/x509_cert_parser.c: In function
> > ‘x509_process_extension’:
> > crypto/asymmetric_keys/x509_cert_parser.c:439:15: error: ‘ASN1_OTS’
> > undeclared (first use in this function)
> >    if (v[0] != ASN1_OTS || v[1] != vlen - 2)
> >                ^~~~~~~~
> > crypto/asymmetric_keys/x509_cert_parser.c: In function ‘x509_decode_time’:
> > crypto/asymmetric_keys/x509_cert_parser.c:494:13: error: ‘ASN1_UNITIM’
> > undeclared (first use in this function)
> >   if (tag == ASN1_UNITIM) {
> >              ^~~~~~~~~~~
> > crypto/asymmetric_keys/x509_cert_parser.c:503:20: error: ‘ASN1_GENTIM’
> > undeclared (first use in this function)
> >   } else if (tag == ASN1_GENTIM) {
> >                     ^~~~~~~~~~~
> > cc1: some warnings being treated as errors
> > make[2]: *** [scripts/Makefile.build:313:
> > crypto/asymmetric_keys/x509_cert_parser.o] Error 1
> > make[1]: *** [scripts/Makefile.build:559: crypto/asymmetric_keys] Error 2
> > make: *** [Makefile:1060: crypto] Error 2
> > --snip--

> Ok I got it to build by doing another git reset --hard origin/drm-tip and
> then make clean.

> Booting things up looks like I'm missing LUKS support in the 4.17.0-rc5
> kernel, perhaps I need to bake in some extra things so my encrypted disks
> can be opened for booting into Runlevel 5.  (sorry, first time stepping
> through this).</span >

Bear with me, I borrowed the .config from a Fedora Rawhide 4.17.0-rc5 src
kernel rpm instead of blundering through all the options and I'm rebuilding now
to make sure I have all the modules needed.  Will report back.</pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are on the CC list for the bug.</li>
          <li>You are the assignee for the bug.</li>
          <li>You are the QA Contact for the bug.</li>
      </ul>
    </body>
</html>