bugGNU GRUB - Bugs: bug #55892, grub make error

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #55892: grub make error

Submitter:  Chen, Fan <fchen1>
Submitted:  Tue 12 Mar 2019 08:47:27 AM UTC
   
 
Category:  Compilation Severity:  Major
Priority:  5 - Normal Item Group:  Software Error
Status:  None Privacy:  Public
Assigned to:  None Originator Name:  Fan Chen
Open/Closed:  Open Release:  Git master
Release:  Reproducibility:  Every Time
Planned Release:  None

Tue 12 Mar 2019 08:47:27 AM UTC, original submission:  

Hi,

When I make grub using the latest git commit in master branch: 41121742df1af73699965a2aab5fb1f5e6555ad5, I met error when execute "make".
And I noticed that we need to use "./bootstrap" instead of "./autogen.sh" .

So my stpes:

git clone git://git.savannah.gnu.org/grub.git
cd grub
./bootstrap
./configure --target=amd64 --with-platform=xen (I also tried ./configure --target=amd64, then same error happened.)
make

Then the following error occured:
......
In file included from ../grub-core/lib/gnulib/libc-config.h:150:0,
                 from lib/gnulib/regex.c:21:
lib/gnulib/regexec.c: In function ‘re_search_2_stub’:
../grub-core/lib/gnulib/intprops.h:398:37: error: ‘SCHAR_MIN’ undeclared (first use in this function)
                        signed char, SCHAR_MIN, SCHAR_MAX) \
                                     ^
../grub-core/lib/gnulib/cdefs.h:405:52: note: in definition of macro ‘__glibc_unlikely’
 # define __glibc_unlikely(cond) __builtin_expect ((cond), 0)
                                                    ^
../grub-core/lib/gnulib/intprops.h:426:6: note: in expansion of macro ‘_GL_INT_OP_CALC1’
    ? _GL_INT_OP_CALC1 ((t) (a), (t) (b), r, op, overflow, ut, t, tmin, tmax) \
      ^
../grub-core/lib/gnulib/intprops.h:397:7: note: in expansion of macro ‘_GL_INT_OP_CALC’
     ? _GL_INT_OP_CALC (a, b, r, op, overflow, unsigned int, \
       ^
......
......


Thanks,
Fan

Chen, Fan <fchen1>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by fchen1 (I found this error happened from commit: 35b909062e7b334eb4af372be3260d0f62d85375)
  • -email is unavailable- added by fchen1 (Submitted the item)
  • -email is unavailable- added by fchen1
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

     

    Follow 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2019-03-14 fchen1 Carbon-Copy- Added -email is unavailable-
    2019-03-12 fchen1 Carbon-Copy- Added -email is unavailable-

    Back to the top

    Powered by Savane 3.13-f8d8.
    Corresponding source code