bugGNU GRUB - Bugs: bug #22758, grub-2: compile fails with...

 
 

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

bug #22758: grub-2: compile fails with [grub_script.tab.h] Broken pipe

Submitted by:  John Frankish <juanito>
Submitted on:  Fri 28 Mar 2008 08:31:12 AM UTC  
 
Category: CompilationSeverity: Major
Priority: 5 - NormalItem Group: Software Error
Status: NonePrivacy: Public
Assigned to: NoneOriginator Name: 
Open/Closed: ClosedRelease: cvs 28 Mar 08
Release: NoneReproducibility: Every Time
Planned Release: None

Thu 21 Aug 2008 08:08:49 PM UTC, comment #1:

Broken Pipe sounds more then a bug in bison
I wonder why you were using a old bison and old gcc and old kernel but this report is from March this year.

I think the report can be closed, feel free to reopen if this still happens.

Felix Zielcke <fzielcke>
Project Member
Fri 28 Mar 2008 08:31:12 AM UTC, original submission:

Compiling grub2 from cvs 28 Mar 2008 on damnsmalllinux (kernel 2.4.31) with gcc-3.3.5, bison-1.875

Using:
$ export LDFLAGS=-L/opt/grub-2/lib [lzo libs/headers here]
$ export CPPFLAGS="-I/opt/compile-3.3.5/include -I/opt/grub-2/include"

$./configure --prefix=/opt/grub-2
$ make
...
gcc -Inormal -I./normal -I. -Iinclude -I./include -Wall -W -Wall -W -Wshadow -Wpointer-arith -Wmissing-prototypes -Wundef -Wstrict-prototypes -g -Os -falign-jumps=1 -falign-loops=1 -falign-functions=1 -fno-builtin -mrtd -mregparm=3 -m32 -MD -c -o normal_mod-normal_cmdline.o normal/cmdline.c
bison -d -p grub_script_yy -b grub_script ./normal/parser.y
make: *** [grub_script.tab.h] Broken pipe

Does grub2 require a certain version of bison?

Note also that even though m4 is in the path, unless m4 is /usr/bin/,the compile fails with:

autom4te: need GNU m4 1.4 or later: /usr/bin/m4

John Frankish <juanito>

 

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by fzielcke (Posted a comment)
  • -unavailable- added by juanito (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follows 1 latest change.

    Date Changed By Updated Field Previous Value => Replaced By
    Thu 21 Aug 2008 08:08:49 PM UTCfzielckeOpen/ClosedOpen=>Closed

    Back to the top


    Powered by Savane 3.1-cleanup1