Re: blcr 0.8.1 failed build on new kernel

From: Paul H. Hargrove (PHHargrove_at_lbl_dot_gov)
Date: Wed Oct 21 2009 - 13:31:13 PDT

  • Next message: Paul H. Hargrove: "Re: x86_64 kernel with i386 userland"
    Alan Woodland wrote:
    > 2009/10/20 Neal Becker <[email protected]>:
    >   
    >> http://bugzilla.rpmfusion.org/show_bug.cgi?id=877
    >>
    >> Any ideas on this?
    >>
    >>     
    >
    > Looks like the same problem as:
    > http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=542643
    >
    > Alan
    >   
    
    Neal,
      I suspect Alan is correct.  The attached patch contains the changes 
    I've made locally based on the prior communications in the Debian bug 
    tracker.  Please let me know either way if this works or does not.
    -Paul
    
    -- 
    Paul H. Hargrove                          PHHargrove_at_lbl_dot_gov
    Future Technologies Group                 Tel: +1-510-495-2352
    HPC Research Department                   Fax: +1-510-486-6900
    Lawrence Berkeley National Laboratory     
    
    
    Index: acinclude.m4
    ===================================================================
    RCS file: /var/local/cvs/lbnl_cr/acinclude.m4,v
    retrieving revision 1.177.14.2
    retrieving revision 1.177.14.4
    diff -u -p -r1.177.14.2 -r1.177.14.4
    --- acinclude.m4	12 Jun 2009 20:37:01 -0000	1.177.14.2
    +++ acinclude.m4	21 Oct 2009 20:24:53 -0000	1.177.14.4
    @@ -954,7 +956,7 @@ AC_DEFUN([CR_BAD_KERNEL],[
     # "eval $LINUX_SYMTAB_CMD" will produce a System.map on stdout.
     cr_stripped_maps=''
     AC_DEFUN([_CR_CHECK_SYSTEM_MAP],[
    -  if test -n "$1" -a -r "$1" && grep ' [[AB]] _end' <"$1" >/dev/null 2>/dev/null; then
    +  if test -n "$1" -a -r "$1" && grep -e '[[TD]] sys_open' -e '[[AB]] _end' <"$1" >/dev/null 2>/dev/null; then
         if grep -B1 '[[AB]] _end' <"$1" | grep _stext >/dev/null 2>/dev/null; then
           # Reject "stripped" files (such as in FC2)
           # Recognized (poorly) by _stext and _end as last two entries.
    Index: configure.ac
    ===================================================================
    RCS file: /var/local/cvs/lbnl_cr/configure.ac,v
    retrieving revision 1.410.2.9
    retrieving revision 1.410.2.10
    diff -u -p -r1.410.2.9 -r1.410.2.10
    --- configure.ac	15 Jun 2009 22:33:56 -0000	1.410.2.9
    +++ configure.ac	23 Aug 2009 22:58:26 -0000	1.410.2.10
    @@ -454,9 +454,10 @@ fi
     AC_SUBST(CR_CLIENT_LDADD)
     
     # If building the tests, we can optionally test C++
    -if test x"$cr_build_tests" = xyes; then
    +# Note, however, that  bug 2619 reports that we can't call this conditionally.
    +dnl if test x"$cr_build_tests" = xyes; then
       CR_PROG_CXX
    -fi
    +dnl fi
     
     ################################################################################
     # Check libraries
    

  • Next message: Paul H. Hargrove: "Re: x86_64 kernel with i386 userland"