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: 24 Sep 2007 12:54:35 -0000

------- Additional Comments From happyarch at gmail dot com  2007-09-24 12:54 
-------
What is wrong with ".eh_frame"? then linker is not working?
or binutils works fine? i am not sure, so tried following action.

removed "{ (exit 1); exit 1; };" in below line.
I have no name!-in-chroot:/temptools/src/tarballs/grub-0.97# vi +3937 configure

and try to configure --prefix=/usr and make

make[2]: Entering directory `/temptools/src/tarballs/grub-0.97/stage2'
gcc -Os -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 -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 -m64  -pipe -g -c -o
pre_stage2_exec-asm.o `test -f 'asm.S' || echo './'`asm.S
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-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  -pipe -g
-MT pre_stage2_exec-bios.o -MD -MP -MF ".deps/pre_stage2_exec-bios.Tpo" -c -o
pre_stage2_exec-bios.o `test -f 'bios.c' || echo './'`bios.c; \
        then mv -f ".deps/pre_stage2_exec-bios.Tpo"
".deps/pre_stage2_exec-bios.Po"; else rm -f ".deps/pre_stage2_exec-bios.Tpo";
exit 1; fi
asm.S: Assembler messages:
asm.S:1852: Error: suffix or operands invalid for `and'
asm.S:1854: Error: suffix or operands invalid for `and'
make[2]: *** [pre_stage2_exec-asm.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory `/temptools/src/tarballs/grub-0.97/stage2'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/temptools/src/tarballs/grub-0.97'
make: *** [all] Error 2
I have no name!-in-chroot:/temptools/src/tarballs/grub-0.97# vi +1852 
stage2/asm.S

.code64
longmode:
        mov     $0x2BADB002, %eax

        mov     %rsi, %rbx
        and     $0xffffffff, %rsi // asm.S:1852

        and     $0xffffffff, %rdi // asm.S:1854
        call    *%rdi
        /* NOTREACHED */
        call    EXT_C(stop)

.code32
#endif /* ! STAGE1_5 */




-- 


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]