bugGNU GRUB - Bugs: bug #33016, generation of kernel_syms.lst...

 
 

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

bug #33016: generation of kernel_syms.lst fails with at least et_EE.utf8 locale

Submitted by:  Leho Kraav <lkraav>
Submitted on:  Thu 07 Apr 2011 02:48:54 PM UTC  
 
Category: CompilationSeverity: Major
Priority: 5 - NormalItem Group: Software Error
Status: FixedPrivacy: Public
Assigned to: NoneOriginator Name: 
Open/Closed: ClosedRelease: 
Release: Bazaar - trunkReproducibility: Every Time
Planned Release: None

Thu 07 Apr 2011 02:48:54 PM UTC, original submission:

cat kernel_syms.input | grep -v '^#' | sed -n \
-e '/EXPORT_FUNC ([a-zA-Z0-9_])/{s/.EXPORT_FUNC (\([a-zA-Z0-9_]\))./defined kernel '""'\1/;p;}' \
-e '/EXPORT_VAR ([a-zA-Z0-9_])/{s/.EXPORT_VAR (\([a-zA-Z0-9_]\))./defined kernel '""'\1/;p;}' \
| sort -u >kernel_syms.lst

solution?

=== modified file 'grub-core/Makefile.am'
--- grub-core/Makefile.am 2011-01-13 21:23:49 +0000
+++ grub-core/Makefile.am 2011-04-07 14:40:04 +0000
@@ -200,8 +200,8 @@
kernel_syms.lst: $(KERNEL_HEADER_FILES) $(top_builddir)/config.h
$(TARGET_CPP) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS_KERNEL) $(CPPFLAGS) $(CFLAGS) -DGRUB_SYMBOL_GENERATOR=1 $^ >kernel_syms.input
cat kernel_syms.input | grep -v '^#' | sed -n \
- -e '/EXPORT_FUNC ([a-zA-Z0-9_])/{s/.EXPORT_FUNC (\([a-zA-Z0-9_]\))./defined kernel '"$(ASM_PREFIX)"'\1/;p;}' \
- -e '/EXPORT_VAR ([a-zA-Z0-9_])/{s/.EXPORT_VAR (\([a-zA-Z0-9_]\))./defined kernel '"$(ASM_PREFIX)"'\1/;p;}' \
+ -e '/EXPORT_FUNC \([a-zA-Z0-9_]\)/{s/.EXPORT_FUNC (\([a-zA-Z0-9_]\))./defined kernel '"$(ASM_PREFIX)"'\1/;p;}' \
+ -e '/EXPORT_VAR \([a-zA-Z0-9_]\)/{s/.EXPORT_VAR (\([a-zA-Z0-9_]\))./defined kernel '"$(ASM_PREFIX)"'\1/;p;}' \
| sort -u >$@
rm -f kernel_syms.input
CLEANFILES += kernel_syms.lst

Leho Kraav <lkraav>

 

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 phcoder (Updated the item)
  • -unavailable- added by lkraav (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):

     

     

    Follow 2 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Fri 08 Apr 2011 12:21:53 PM UTCphcoderStatusNone=>Fixed
      Open/ClosedOpen=>Closed

    Back to the top


    Powered by Savane 3.1-cleanup1