bugGNU GRUB - Bugs: bug #53471, grub_script.yy.c issue

 
 

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

bug #53471: grub_script.yy.c issue

Submitter:  Andrea Crescentini <elcresh>
Submitted:  Mon 26 Mar 2018 09:28:35 AM UTC
   
 
Category:  Compilation Severity:  Major
Priority:  5 - Normal Item Group:  None
Status:  None Privacy:  Public
Assigned to:  None Originator Name: 
Open/Closed:  Open Release:  Git master
Release:  Reproducibility:  Every Time
Planned Release:  None

Thu 29 Mar 2018 11:04:04 PM UTC, comment #2: 

Autogenerated Makefile include -Werror so something need some edit. My compiler is set on default Arch config without any changes.

Andrea Crescentini <elcresh>
Thu 29 Mar 2018 07:28:31 PM UTC, comment #1: 


> cc1: all warnings being treated as errors


Your compiler is treating all warnings as errors. Unset that option and try again? (e.g. see [1]).

If that works then the bug's title should probably be edited to make it more specific to the issue.


[1] https://stackoverflow.com/questions/11561261/how-to-compile-without-warnings-being-treated-as-errors

Jonathon <jonathon>
Mon 26 Mar 2018 09:28:35 AM UTC, original submission:  

I've tried to compile grub from github but it gaves me this error:

>grub_script.yy.c: In function ‘yy_fatal_error’:

grub_script.yy.c:18:22: error: statement with no effect [-Werror=unused-value]
^
grub_script.yy.c:2366:2: note: in expansion of macro ‘fprintf’
(void)yyg;
^~~~~~~
cc1: all warnings being treated as errors
make[3]: * [Makefile:35745: normal_module-grub_script.yy.o] Error 1
make[3]: Leaving directory '/home/andrea/Desktop/emulators/ps4_emu/orbital-grub/grub-core'
make[2]: * [Makefile:23530: all] Error 2
make[2]: Leaving directory '/home/andrea/Desktop/emulators/ps4_emu/orbital-grub/grub-core'
make[1]: * [Makefile:10903: all-recursive] Error 1
make[1]: Leaving directory '/home/andrea/Desktop/emulators/ps4_emu/orbital-grub'
make: * [Makefile:3129: all] Error 2

Andrea Crescentini <elcresh>

 

(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 jonathon (Posted a comment)
  • -email is unavailable- added by elcresh (Submitted the item)
  • -email is unavailable- added by elcresh
  •  

    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.

     

    Follows 1 latest change.

    Date Changed by Updated Field Previous Value => Replaced by
    2018-03-26 elcresh Carbon-Copy- Added -email is unavailable-

    Back to the top

    Powered by Savane 3.13-758e.
    Corresponding source code