bugGNU GRUB - Bugs: bug #9755, Error when compiling grub 0.94...

 
 

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

bug #9755: Error when compiling grub 0.94 with gcc 3.4.1

Submitted by:  None
Submitted on:  Sun 25 Jul 2004 11:22:32 AM UTC  
 
Category: CompilationSeverity: Major
Priority: 5 - NormalItem Group: None
Status: Works For MePrivacy: Public
Assigned to: NoneOriginator Name: Yannick Bergeron
Originator Email: -unavailable-Open/Closed: Closed
Release: 0.94Release: None
Reproducibility: NonePlanned Release: None

Sun 25 Jul 2004 02:32:06 PM UTC, comment #1:

This is already fixed in the latest release.

Jeroen Dekkers <jeroen>
Project Member
Sun 25 Jul 2004 11:22:32 AM UTC, original submission:

It's compiling fine with gcc 3.3.3 few weeks ago, but now that I've upgraded gcc to 3.4.1, I'm not able to build it anymore

gcc -g -o pre_stage2.exec -nostdlib -Wl,-N -Wl,-Ttext -Wl,8200 pre_stage2_exec-asm.o pre_stage2_exec-bios.o pre_stage2_exec-boot.o pre_stage2_exec-builtins.o pre_stage2_exec-char_io.o pre_stage2_exec-cmdline.o pre_stage2_exec-common.o pre_stage2_exec-console.o pre_stage2_exec-disk_io.o pre_stage2_exec-fsys_ext2fs.o pre_stage2_exec-fsys_fat.o pre_stage2_exec-fsys_ffs.o pre_stage2_exec-fsys_jfs.o pre_stage2_exec-fsys_minix.o pre_stage2_exec-fsys_reiserfs.o pre_stage2_exec-fsys_vstafs.o pre_stage2_exec-fsys_xfs.o pre_stage2_exec-gunzip.o pre_stage2_exec-hercules.o pre_stage2_exec-md5.o pre_stage2_exec-serial.o pre_stage2_exec-smp-imps.o pre_stage2_exec-stage2.o pre_stage2_exec-terminfo.o pre_stage2_exec-tparm.o
pre_stage2_exec-builtins.o(.text+0x1407): In function `install_func':
/usr/src/grub-0.94/stage2/builtins.c:1860: undefined reference to `memcpy'
pre_stage2_exec-builtins.o(.text+0x14c9):/usr/src/grub-0.94/stage2/builtins.c:1905: undefined reference to `memcpy'
pre_stage2_exec-builtins.o(.text+0x2c24): In function `setup_func':
/usr/src/grub-0.94/stage2/builtins.c:3746: undefined reference to `memcpy'
pre_stage2_exec-serial.o(.text+0xbf): In function `fill_input_buf':
/usr/src/grub-0.94/stage2/serial.c:203: undefined reference to `memcpy'
collect2: ld returned 1 exit status
make[2]: *** [pre_stage2.exec] Error 1
make[2]: Leaving directory `/usr/src/grub-0.94/stage2'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/grub-0.94'
make: *** [all] Error 2

Anonymous

 

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

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
Sun 25 Jul 2004 02:32:06 PM UTCjeroenStatusNone=>Works For Me
  Open/ClosedOpen=>Closed

Back to the top


Powered by Savane 3.1-cleanup1