Displaying 20 results from an estimated 109 matches for "elf_i386".
2013 Jul 11
0
LDFLAGS and distro overrides
Hi,
Matt Fleming:
> This just came up on IRC,
>
> 15:01 < chithead> the first one that fails is ld -m elf_i386 -Wl,-O1 -Wl,--as-needed -Bsymbolic -pie -E --hash-style=gnu -T /var/tmp/portage/sys-boot/syslinux-6.01_pre5/work/syslinux-6.01-pre5/core/i386/syslinux.ld -M -o ldlinux.elf ldlinux.o \
> 15:01 < chithead> --start-group libcom32.a --whole-archive /var/tmp/portage/sys-boot/syslinux-6....
2013 Jul 02
2
LDFLAGS and distro overrides
This just came up on IRC,
15:01 < chithead> the first one that fails is ld -m elf_i386 -Wl,-O1 -Wl,--as-needed -Bsymbolic -pie -E --hash-style=gnu -T /var/tmp/portage/sys-boot/syslinux-6.01_pre5/work/syslinux-6.01-pre5/core/i386/syslinux.ld -M -o ldlinux.elf ldlinux.o \
15:01 < chithead> --start-group libcom32.a --whole-archive /var/tmp/portage/sys-boot/syslinux-6.01_pr...
2009 Nov 11
1
32bit development on x86-64
...gcc -m32 -Wall -osizes sizes.c
there are no warnings or complaints and a functioning 32 bit
program runs, giving the size of a long as 4 bytes. (Of course
without the m32 flag the size of long is 8 bytes.)
if I try to do the equivalent in two steps:
gcc -c -m32 -Wall sizes.c
gcc -osizes -Wl,-m,elf_i386 sizes.o
the result is:
/usr/bin/ld: skipping incompatible
/usr/lib/gcc/x86_64-redhat-linux/4.1.2/libgcc.a when searching for -lgcc
/usr/bin/ld: skipping incompatible
/usr/lib/gcc/x86_64-redhat-linux/4.1.2/libgcc.a when searching for -lgcc
/usr/bin/ld: cannot find -lgcc
collect2: ld returned 1 ex...
2017 Jan 29
2
Linking Linux kernel with LLD
...lmode script. We produce wrong values for video_cards/video_cards_end.
Reduced sample is D29217, and thread with possible patch for that is D27415 which is under discussions now.
(Though there are also probably can be other issues, but that one is obvious atm).
I have a question also. You added -m elf_i386 to workaround emulation conflict issue in LLD, do you know
does output produced by BFD boot fine after that change ?
George.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20170129/2ea02ee0/attachment.html>...
2007 Nov 12
5
Solaris build fix breaks Solaris
16396:055d98aa2dd0 almost works but not quite. LDFLAGS_DIRECT means we
end up with:
gld -melf_i386 -nostdlib -N -Ttext 0x100000 -o hvmloader.tmp hvmloader.o mp_tables.o util.o smbios.o 32bitbios_support.o acpi/acpi.a
Specifying a linker script and asking for -nostdlib is obviously
contradictory. Removing $(LDFLAGS_DIRECT) fixes the problem.
regards
john
_______________________________________...
2009 May 15
3
The "core32" development branch
Well, there is now a development branch in the git repository, which
contains the infrastructure needed for rewriting the core in C. As an
initial test case it simply contains a "Hello, World!" and a rewrite of
rllpack in C.
This is not production code in any way: SYSLINUX (the FAT version) is
completely broken (I haven't had time to fix the installers yet) and the
Linux kernel
2013 Feb 04
1
syslinux 4.02 build problem
...server 6.0
Thanks
Alakesh
31186 bytes (31 kB) copied, 0.000315067 seconds, 99.0 MB/s
nasm -f elf -Ox -g -F dwarf -DDATE_STR="'0x5110300a'" \
-DHEXDATE="0x5110300a" \
-l isolinux.lsr -o isolinux.o -MP -MD .isolinux.o.d
isolinux.asm
ld -m elf_i386 -T syslinux.ld -M -o isolinux.elf isolinux.o \
--start-group libcore.a ../com32/lib/libcomcore.a
/usr/lib/gcc/i386-redhat-linux/4.1.2/libgcc.a --end-group \
> isolinux.map
objdump -h isolinux.elf > isolinux.sec
perl lstadjust.pl isolinux.lsr isolinux.sec isoli...
2017 Jan 30
0
Linking Linux kernel with LLD
<div>> I have a question also. You added <span style="font-family:"Segoe UI","Segoe UI Web Regular","Segoe UI Symbol",Lato,"Helvetica Neue",Helvetica,Arial,sans-serif;font-size:13px;background-color:rgb(255,255,255);">-m elf_i386 </span>to workaround emulation conflict issue in LLD, do you know<div>> does output produced by BFD boot fine after that change ?</div>Doesn't seem to affect BFD at all.</div><div><br /></div><div><br /></div><div>29.01.2017,...
2012 May 29
7
efibootmgr not working on xen-unstable booted on uefi system
I have installed dom0 Wheezy 64 bit on Dell PowerEdge T310 with kernel from
package and xen-unstable. System is in Uefi mode and booted with
grub-efi-amd64.
Booting without xen efibootmgr works, while with xen not, efivars kernel
module is loaded but show this message:
efibootmgr
Fatal: Couldn''t open either sysfs or procfs directories for accessing EFI
variables.
Try ''modprobe
2018 Feb 27
0
CentOS 7 / Xen 4.6 on UEFI system?
...mpiling_Xen_as_EFI
Which sugests binutils doesn't support PE (EFI), which looks to be the case with the stock version on CentOS 7, note missing i386pe from the list of supported emulations:
# ld -V
GNU ld version 2.25.1-32.base.el7_4.2
Supported emulations:
elf_x86_64
elf32_x86_64
elf_i386
i386linux
elf_l1om
elf_k1om
I downloaded binutils 2.30 from http://ftp.gnu.org/gnu/binutils/ and built it with:
yum -y groupinstall "Development Tools"
tar xzf binutils-2.30.tar.gz
cd binutils-2.30
./configure --enable-targets=x86_64-pep
make
make install
Now I have a version...
2008 Aug 22
1
syslinux-3.71-21-gbd09a6d - build breakage
Got the following trying to build git master:
gcc -std=gnu99 -m32 -fno-stack-protector -mregparm=3 -DREGPARM=3 -march=i386 -Os -W -Wall -march=i386 -fomit-frame-pointer -D__COM32__
-nostdinc -iwithprefix include -I../../com32/libutil/include -I../../com32/include -c -o chain.o chain.c
ld -m elf_i386 -T ../../com32/lib/com32.ld -o chain.elf chain.o ../../com32/libutil/libutil_com.a ../../com32/lib/libcom32.a
/usr/lib/gcc/i486-linux-gnu/4.2.1/libgcc.a
objcopy -O binary chain.elf chain.c32
gcc -std=gnu99 -m32 -fno-stack-protector -mregparm=3 -DREGPARM=3 -march=i386 -Os -W -Wall -march=i386 -fomi...
2006 Aug 07
1
3.0.2 hvmloader
...trution in ubuntu 6.06 amd 64.
I downloaded and installed xen 3.0.2 from binaries.
I found that hvmloader is not included in binary distribution :-(
So I try to compile it from sources.
I get following error:
cpp -P -DDEBUG -DTEXTADDR=0x000D0000 vmxassist.ld > vmxassist.tmp
ld -o vmxassist -m elf_i386 -nostdlib --fatal-warnings -N -T
vmxassist.tmp head.o trap.o vm86.o setup.o util.o
nm -n vmxassist > vmxassist.sym
objcopy -p -O binary -R .note -R .comment -R .bss -S --gap-fill=0
vmxassist vmxassist.tmp
dd if=vmxassist.tmp of=vmxassist.bin ibs=512 conv=sync
37+1 records in
38+0 records out
m...
2003 Feb 03
0
[Bug 39] New: can't execute 'make modules'
...C ipv4/netfilter modules
make[2]: Cambiando a directorio `/usr/src/linux-2.4.19/net/ipv4/netfilter'
make[2]: Se elimina la dependencia circular
/usr/src/linux-2.4.19/include/linux/netfilter_ipv4/ip_conntrack_helper.h <-
/usr/src/linux-2.4.19/include/linux/netfilter_ipv4/ip_conntrack.h.
ld -m elf_i386 -r -o ip_conntrack.o ip_conntrack_standalone.o
ip_conntrack_core.o ip_conntrack_proto_generic.o ip_conntrack_proto_tcp.o
ip_conntrack_proto_udp.o ip_conntrack_proto_icmp.o
ld -m elf_i386 -r -o iptable_nat.o ip_nat_standalone.o ip_nat_rule.o
ip_nat_core.o ip_nat_helper.o ip_nat_proto_unknown.o ip_na...
2007 Mar 19
3
Error while compiling in Ubuntu 6.06 64 bit
.../lib/libsicudata.a -lstdc++ -lgcc_s
../../libs/port/libwine_port.a -L/lib32 -L/usr/lib32 -Wl,-rpath,/lib32
-Wl,-rpath,/usr/lib32
ld: Relocatable linking with relocations from format elf64-x86-64
(/usr/lib/libsicuuc.a(ubidi.ao)) to format elf32-i386 (gdi32.QFXYMS.o)
is not supported
winebuild: ld -m elf_i386 -r failed with status 256
winegcc: ../../tools/winebuild/winebuild failed.
make[2]: *** [gdi32.dll.so] Error 2
make[2]: Leaving directory `/home/marcus/wine/dlls/gdi'
make[1]: *** [gdi/__install-lib__] Error 2
make[1]: Leaving directory `/home/marcus/wine/dlls'
make: *** [dlls/__install-lib...
2011 Jan 17
1
Linker script assertion with binutils 2.21
dos/syslinux.elf fails to build on current Ubuntu Natty (binutils 2.21)
as follows:
ld -m elf_i386 -T dosexe.ld -o syslinux.elf header.o crt0.o ldlinux.o syslinux.o fat.o syslxmod.o syslxopt.o setadv.o getopt_long.o bootsect_bin.o mbr_bin.o cache.o fatchain.o open.o searchdir.o libcom.a
/usr/bin/ld.bfd.real: syslinux_ldlinux_size must equal the size of .payload
/usr/bin/ld.bfd.real: syslinux...
2017 Jan 31
2
Linking Linux kernel with LLD
>> I have a question also. You added -m elf_i386 to workaround emulation conflict issue in LLD, do you know
>> does output produced by BFD boot fine after that change ?
>Doesn't seem to affect BFD at all.
Thanks !
?George.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pip...
2009 Mar 26
1
isolinux-debug: Approaching overflow
...ng readdir in ISOLINUX, I made
it large enough that it overflowed for isolinux-debug.
$ make all
nasm -O9999 -f elf -g -F stabs -DDATE_STR="'pre11-112-g930881b*'" \
-DHEXDATE="0x49caaf5b" \
-l isolinux.lsr -o isolinux.o isolinux.asm
ld -m elf_i386 -T syslinux.ld -M -o isolinux.elf isolinux.o > isolinux.map
objdump -h isolinux.elf > isolinux.sec
perl lstadjust.pl isolinux.lsr isolinux.sec isolinux.lst
objcopy -O binary isolinux.elf isolinux.bin
perl checksumiso.pl isolinux.bin
nasm -O9999 -f elf -g -F stabs -DDATE_STR="'pre11-...
1999 Jul 09
1
"ld: bfd assertion fail" making eda.so on Linux (Redhat 6.0)
...5% gcc --version
egcs-2.91.66
mkellers{maechler}426% ld --version
GNU ld 2.9.1
Copyright 1997 Free Software Foundation, Inc.
This program is free software; you may redistribute it under the terms of
the GNU General Public License. This program has absolutely no warranty.
Supported emulations:
elf_i386
i386linux
------------------
I'm guessing that the gcc/ld/library combination hasn't been
installed/configured properly...
???
Martin
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-devel mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-...
2007 Aug 24
0
[LLVMdev] Documentation error in http://llvm.org/docs/LinkTimeOptimization.html
On Aug 24, 2007, at 1:45 PM, Holger Schurig wrote:
> $ llvm-gcc --emit-llvm -c a.c -o a.o
> $ llvm-gcc -c main.c -o main.o
> $ llvm-gcc a.o main.o -o main
> a.o: file not recognized: File format not recognized
> collect2: ld returned 1 exit status
>
> Okay, that did not really work :-/
This document describes interface between llvm and linker. You need
system linker that
2008 Mar 03
0
[LLVMdev] llvm/test: suffix or operands invalid for `push'
...e behaviour that I encountered. If I'm
correct, the bugs are just in the dejagnu-based test machinery, not in
LLVM itself.
There seem to be two issues:
Issue 1 is that the CC, CFLAGS, CXX, and CXXFLAGS settings are not
reflected in the site.exp file. I had
CC=gcc-4.2
CFLAGS="-m32 -Wl,-melf_i386"
CXX=g++-4.2
CXXFLAGS=$CFLAGS
ARCH=i686-pc-linux-gnu
./configure --prefix=$HOME --target=$ARCH --host=$ARCH --build=$ARCH
but site.exp still has
set gccpath "gcc"
set gxxpath "g++"
and no mention of -m32 or -Wl,elf_i386 (these options are required to
force a 64-bit...