bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug binutils/5059] absolute objcopy not working on amd64?


From: happyarch at gmail dot com
Subject: [Bug binutils/5059] absolute objcopy not working on amd64?
Date: 2 Oct 2007 23:13:42 -0000

------- Additional Comments From happyarch at gmail dot com  2007-10-02 23:13 
-------
>I don't think they are correct. The correct ones may be

>and     $0xffffffff, %esi
>and     $0xffffffff, %edi

so i tried another one
root:/sources/grub-0.97# vi +1852 stage2/asm.S

        //and   $0xffffffffffffffff, %rsi
        and     $0xffffffff, %esi

        //and   $0xffffffffffffffff, %rdi
        and     $0xffffffff, %edi

>> root:/sources/grub-0.97# make
>...
>> boot.c: In function ‘load_image’:
>> boot.c:80: warning: cast from pointer to integer of different size
>> boot.c:80: warning: cast from pointer to integer of different size

>Those warnings have nothing to do with binutils. We can't help you here.

Those warnings means nothing, but below error messages means something.
"and     $0xffffffff, %esi"  
"and     $0xffffffffffffffff, %rsi"
both modification result same error message: 

/tmp/ccgHKQuT.s:795: Error: Incorrect register `%rax' used with `l' suffix
/tmp/ccgHKQuT.s:847: Error: Incorrect register `%rax' used with `l' suffix
make[2]: *** [pre_stage2_exec-disk_io.o] Error 1

is the above error messages the bug?
http://sourceware.org/bugzilla/show_bug.cgi?id=5080

TIA



root:/sources/grub-0.97# make
make  all-recursive
make[1]: Entering directory `/sources/grub-0.97'
Making all in netboot
make[2]: Entering directory `/sources/grub-0.97/netboot'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/sources/grub-0.97/netboot'
Making all in stage2
make[2]: Entering directory `/sources/grub-0.97/stage2'
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../stage1  -Wall -Wmissing-prototypes
-Wunused -Wshadow -Wpointer-arith -falign-jumps=1 -falign-loops=1
-falign-functions=1 -Wundef -Os -fno-strict-aliasing -fno-stack-protector
-fno-builtin -nostdinc  -DSUPPORT_SERIAL=1 -DSUPPORT_HERCULES=1 -DFSYS_EXT2FS=1
-DFSYS_FAT=1 -DFSYS_FFS=1 -DFSYS_UFS2=1 -DFSYS_MINIX=1 -DFSYS_REISERFS=1
-DFSYS_VSTAFS=1 -DFSYS_JFS=1 -DFSYS_XFS=1 -DFSYS_ISO9660=1 -DUSE_MD5_PASSWORDS=1
-m64 -g -MT pre_stage2_exec-disk_io.o -MD -MP -MF
".deps/pre_stage2_exec-disk_io.Tpo" -c -o pre_stage2_exec-disk_io.o `test -f
'disk_io.c' || echo './'`disk_io.c; \
        then mv -f ".deps/pre_stage2_exec-disk_io.Tpo"
".deps/pre_stage2_exec-disk_io.Po"; else rm -f
".deps/pre_stage2_exec-disk_io.Tpo"; exit 1; fi
disk_io.c: In function ‘make_saved_active’:
disk_io.c:473: warning: cast from pointer to integer of different size
disk_io.c:473: warning: cast to pointer from integer of different size
disk_io.c:473: warning: cast from pointer to integer of different size
disk_io.c:473: warning: cast to pointer from integer of different size
disk_io.c:473: warning: cast from pointer to integer of different size
disk_io.c:473: warning: cast to pointer from integer of different size
disk_io.c:480: warning: cast from pointer to integer of different size
disk_io.c:480: warning: cast to pointer from integer of different size
disk_io.c:486: warning: cast from pointer to integer of different size
disk_io.c:486: warning: cast to pointer from integer of different size
disk_io.c:489: warning: cast from pointer to integer of different size
disk_io.c:489: warning: cast to pointer from integer of different size
disk_io.c: In function ‘set_partition_hidden_flag’:
disk_io.c:540: warning: cast from pointer to integer of different size
disk_io.c:540: warning: cast to pointer from integer of different size
disk_io.c:542: warning: cast from pointer to integer of different size
disk_io.c:542: warning: cast to pointer from integer of different size
disk_io.c: In function ‘next_bsd_partition’:
disk_io.c:615: warning: cast from pointer to integer of different size
disk_io.c:615: warning: cast to pointer from integer of different size
disk_io.c:625: warning: cast from pointer to integer of different size
disk_io.c:625: warning: cast to pointer from integer of different size
disk_io.c:627: warning: cast from pointer to integer of different size
disk_io.c:627: warning: cast to pointer from integer of different size
disk_io.c:631: warning: cast from pointer to integer of different size
disk_io.c:631: warning: cast to pointer from integer of different size
disk_io.c:632: warning: cast from pointer to integer of different size
disk_io.c:632: warning: cast to pointer from integer of different size
disk_io.c:633: warning: cast from pointer to integer of different size
disk_io.c:633: warning: cast to pointer from integer of different size
disk_io.c:638: warning: cast from pointer to integer of different size
disk_io.c:638: warning: cast to pointer from integer of different size
disk_io.c: In function ‘next_pc_slice’:
disk_io.c:670: warning: cast from pointer to integer of different size
disk_io.c:670: warning: cast to pointer from integer of different size
disk_io.c:687: warning: cast from pointer to integer of different size
disk_io.c:687: warning: cast to pointer from integer of different size
disk_io.c:687: warning: cast from pointer to integer of different size
disk_io.c:687: warning: cast to pointer from integer of different size
disk_io.c:687: warning: cast from pointer to integer of different size
disk_io.c:687: warning: cast to pointer from integer of different size
disk_io.c:691: warning: cast from pointer to integer of different size
disk_io.c:691: warning: cast to pointer from integer of different size
disk_io.c:703: warning: cast from pointer to integer of different size
disk_io.c:703: warning: cast to pointer from integer of different size
disk_io.c:704: warning: cast from pointer to integer of different size
disk_io.c:704: warning: cast to pointer from integer of different size
disk_io.c:705: warning: cast from pointer to integer of different size
disk_io.c:705: warning: cast to pointer from integer of different size
disk_io.c: In function ‘set_bootdev’:
disk_io.c:1155: warning: cast to pointer from integer of different size
disk_io.c: In function ‘grub_open’:
disk_io.c:1593: warning: cast to pointer from integer of different size
disk_io.c:1604: warning: cast to pointer from integer of different size
disk_io.c: In function ‘grub_read’:
disk_io.c:1703: warning: cast to pointer from integer of different size
disk_io.c:1714: warning: cast to pointer from integer of different size
disk_io.c:1722: warning: cast to pointer from integer of different size
/tmp/ccgHKQuT.s: Assembler messages:
/tmp/ccgHKQuT.s:795: Error: Incorrect register `%rax' used with `l' suffix
/tmp/ccgHKQuT.s:847: Error: Incorrect register `%rax' used with `l' suffix
make[2]: *** [pre_stage2_exec-disk_io.o] Error 1
make[2]: Leaving directory `/sources/grub-0.97/stage2'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/sources/grub-0.97'
make: *** [all] Error 2
root:/sources/grub-0.97# 



-- 


http://sourceware.org/bugzilla/show_bug.cgi?id=5059

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]