Displaying 12 results from an estimated 12 matches for "libldlinux".
2013 Apr 19
2
make issue with syslinux-5.01
...ing -falign-functions=0
-falign-jumps=0 -falign-labels=0 -falign-loops=0
-mpreferred-stack-boundary=2 -mincoming-stack-boundary=2
-fvisibility=hidden -g -W -Wall -Wstrict-prototypes -Wno-sign-compare
-I./include -I../com32/include -I../com32/lib -D__SYSLINUX_CORE__ -c -o
plaincon.o plaincon.c
rm -f libldlinux.a
ar cq libldlinux.a plaincon.o
ranlib libldlinux.a
cp libisolinux.a libpxelinux.a
nasm -f elf -Ox -g -F dwarf -DDATE_STR="'0x516f52cb'" \
-DHEXDATE="0x516f52cb" \
-l ldlinux.lsr -o ldlinux.o -MP -MD .ldlinux.o.d ldlinux.asm
(null):0: fatal: command line...
2013 Jul 02
2
LDFLAGS and distro overrides
...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_pre5/work/syslinux-6.01-pre5/bios/com32/lib/libcom32core.a libldlinux.a --end-group \
15:01 < chithead> > ldlinux.map
15:01 < chithead> ld: unrecognized option '-Wl,-O1'
Our use of $(LDFLAGS) may seem slightly unconventional within Syslinux
in that we don't pass it to GCC, but pass it directly to ld. Hence the
above error where GCC...
2013 Jul 11
0
LDFLAGS and distro overrides
...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_pre5/work/syslinux-6.01-pre5/bios/com32/lib/libcom32core.a libldlinux.a --end-group \
> 15:01 < chithead> > ldlinux.map
> 15:01 < chithead> ld: unrecognized option '-Wl,-O1'
>
> Our use of $(LDFLAGS) may seem slightly unconventional within Syslinux
> in that we don't pass it to GCC, but pass it directly to ld. Hence t...
2015 Oct 08
1
[PATCH 0/4] Improve linker scripts
...buntu5)
> GNU ld (GNU Binutils for Ubuntu) 2.22
>
>
> ld -m elf_i386 -Bsymbolic -pie -E --hash-style=gnu -T
> /home/gene/s/g/core/syslinux.ld -M -o ldlinux.elf ldlinux.o \
> --start-group libcom32.a --whole-archive
> /home/gene/s/g/bios/com32/lib/libcom32core.a libldlinux.a --end-group
> \
> > ldlinux.map
> ld:/home/gene/s/g/core/syslinux.ld:29: syntax error
> make[3]: *** [ldlinux.elf] Error 1
>
>
> core/syslinux.ld:29: HIDDEN(__module_start = .);
>
> This would seem to indicate that the keyword HIDDEN is invalid in...
2015 Oct 28
2
Isohybrid wiki page and UEFI
...isn't in the core but
ldlinux.*.
> ranlib liblpxelinux.a
> ld -m elf_i386 -Bsymbolic -pie -E --hash-style=gnu -T
> /root/syslinux/core/i386/syslinux.ld -M -o ldlinux.elf ldlinux.o \
> --start-group libcom32.a --whole-archive
> /root/syslinux/bios/com32/lib/libcom32core.a libldlinux.a --end-group \
> > ldlinux.map
> libcom32.a(font.o): In function `SEG':
> /root/syslinux/com32/include/com32.h:144: undefined reference to `__bad_SEG'
> /root/syslinux/com32/include/com32.h:144: undefined reference to `__bad_SEG'
> libcom32.a(bios.o):...
2015 Oct 05
0
[PATCH 4/4] core: Move linker script in arch-agnostic dir
...changed, 1 insertion(+), 1 deletion(-)
rename core/{i386 => }/syslinux.ld (100%)
diff --git a/core/Makefile b/core/Makefile
index 26302fd..6fb6377 100644
--- a/core/Makefile
+++ b/core/Makefile
@@ -161,7 +161,7 @@ kwdhash.gen: keywords genhash.pl
AUXLIBS = libisolinux.a libisolinux-debug.a libldlinux.a \
libpxelinux.a liblpxelinux.a
-LDSCRIPT = $(SRC)/$(ARCH)/syslinux.ld
+LDSCRIPT = $(SRC)/syslinux.ld
%.elf: %.o $(LIBDEP) $(LDSCRIPT) $(AUXLIBS)
$(LD) $(LDFLAGS) -Bsymbolic $(LD_PIE) -E --hash-style=gnu -T $(LDSCRIPT) -M -o $@ $< \
diff --git a/core/i386/syslinux.ld b/core/syslinux.ld
s...
2015 Oct 08
0
[PATCH 0/4] Improve linker scripts
...ion 4.6.3 (Ubuntu/Linaro 4.6.3-1ubuntu5)
GNU ld (GNU Binutils for Ubuntu) 2.22
ld -m elf_i386 -Bsymbolic -pie -E --hash-style=gnu -T
/home/gene/s/g/core/syslinux.ld -M -o ldlinux.elf ldlinux.o \
--start-group libcom32.a --whole-archive
/home/gene/s/g/bios/com32/lib/libcom32core.a libldlinux.a --end-group
\
> ldlinux.map
ld:/home/gene/s/g/core/syslinux.ld:29: syntax error
make[3]: *** [ldlinux.elf] Error 1
core/syslinux.ld:29: HIDDEN(__module_start = .);
This would seem to indicate that the keyword HIDDEN is invalid in my
version. A quick "git grep com32....
2015 Oct 28
0
Isohybrid wiki page and UEFI
...-DDYNAMIC_DEBUG but now syslinux doesn't want to build:
ranlib liblpxelinux.a
ld -m elf_i386 -Bsymbolic -pie -E --hash-style=gnu -T /root/syslinux/core/i386/syslinux.ld -M -o ldlinux.elf ldlinux.o \
--start-group libcom32.a --whole-archive /root/syslinux/bios/com32/lib/libcom32core.a libldlinux.a --end-group \
> ldlinux.map
libcom32.a(font.o): In function `SEG':
/root/syslinux/com32/include/com32.h:144: undefined reference to `__bad_SEG'
/root/syslinux/com32/include/com32.h:144: undefined reference to `__bad_SEG'
libcom32.a(bios.o): In function `SEG':
/root/syslinux/c...
2015 Oct 28
3
Isohybrid wiki page and UEFI
Hello Thomas,
Thomas Schmitt via Syslinux said on Sun, Oct 25, 2015 at 04:35:57PM +0100:
>I assume you can boot Fedora Live CD on the same (virtual) hardware.
Not sure for Fedora, but the system is installed with either RHEL6,
RHEL7 or Ubuntu 14.04 depending on the Lab I'm making on it without
issue.
>Just to make sure that the firmware works so far.
Globally they do ;-)
>
2015 Oct 28
0
Isohybrid wiki page and UEFI
...r point here.
kaboom.c is the file defining __bad_SEG.
In fact what fails is this:
ld -m elf_i386 -Bsymbolic -pie -E --hash-style=gnu -T /root/syslinux/core/i386/syslinux.ld -M -o ldlinux.elf ldlinux.o \
--start-group libcom32.a --whole-archive /root/syslinux/bios/com32/lib/libcom32core.a libldlinux.a
--end-group \
> ldlinux.map
So I guess that the code of kaboom.c is not in any of the 3 libs
mentionned.
# nm -g ./bios/core/libcom32.a | grep kaboom | grep T
00000000 T _kaboom
So libcom32.a integrates the object file, but the __bad_SEG function is
not in it:
# nm -g ./bios/core/libcom...
2015 Oct 05
7
[PATCH 0/4] Improve linker scripts
From: Sylvain Gault <sylvain.gault at gmail.com>
These patches basically remove unused linker scripts and port a change that was
made to an unused script.
Those are to be applied on top of the gcc 5 bug fixes as they would conflict
otherwise.
Sylvain Gault (4):
diag/mbr: fix dependency to linker script
Remove unused linker scripts
core: Make symbols defined in linker script HIDDEN
2013 Mar 28
1
Makefile race condition with parallel make
When attempting to build syslinux in parallel (make -j5), I encountered
the following error at the end:
rm -f liblpxelinux.a
ar cq liblpxelinux.a rawcon.o ./fs/pxe/dhcp_option.o ./fs/pxe/pxe.o ./fs/pxe/tftp.o ./fs/pxe/urlparse.o ./lwip/src/netif/ethernetif.o ./lwip/src/netif/etharp.o ./lwip/src/netif/slipif.o ./lwip/src/netif/ppp/md5.o ./lwip/src/netif/ppp/randm.o ./lwip/src/netif/ppp/chpms.o