On Tue, 25 Jun, at 01:52:00PM, Helmut Hullen wrote:> Thanks - now it crashes later ...What crash are you seeing?> I don't have the ia64 files which are needed for a complete binary. But > maybe that's only my special problem.You shouldn't need ia64 files to build ia32 and x86-64 versions of gnu-efi or Syslinux. -- Matt Fleming, Intel Open Source Technology Center
Hallo, Matt, Du meintest am 25.06.13: [compiling syslinux-6.00]>> Thanks - now it crashes later ...> What crash are you seeing?------------- cite on ------------- [...] gcc -Wp,-MT,abort.o,-MD,./.abort.o.d -Os -march=x86-64 -falign- functions=0 -falign-jumps=0 -falign-labels=0 -ffast-math -fomit-frame- pointer -std=gnu99 -fno-stack-protector -fwrapv -freg-struct-return - fPIC -fno-exceptions -fno-asynchronous-unwind-tables -fno-strict- aliasing -falign-functions=0 -falign-jumps=0 -falign-labels=0 -falign- loops=0 -g -D__COM32__ -nostdinc -iwithprefix include -I. -I/tmp/ syslinux-6.00/com32/lib/sys -I/tmp/syslinux-6.00/com32/lib/../include - I/tmp/syslinux-6.00/com32/include/sys -I/tmp/syslinux-6.00/core/include -I/tmp/syslinux-6.00/com32/lib/ -I/tmp/syslinux-6.00/com32/lib/sys/ module -I/tmp/syslinux-6.00/efi64/com32/lib//../.. -W -Wall -Wstrict- prototypes -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -Winline -DDYNAMIC_CRC_TABLE -DPNG_NO_CONSOLE_IO -DPNG_NO_WRITE_SUPPORTED - DPNG_NO_MNG_FEATURES -DPNG_NO_READ_tIME -DPNG_NO_WRITE_tIME -c -o abort.o /tmp/syslinux-6.00/com32/lib/abort.c rm -f libcom32.elf ld -shared -m elf_x86_64 --hash-style=gnu -T /tmp/syslinux-6.00/com32/lib/x86_64/elf.ld -soname libcom32.c32 -o libcom32.elf zlib/adler32.o zlib/compress.o zlib/crc32.o zlib/uncompr.o zlib/deflate.o zlib/trees.o zlib/zutil.o zlib/inflate.o zlib/infback.o zlib/inftrees.o zlib/inffast.o sys/zfile.o sys/zfopen.o libpng/png.o libpng/pngset.o libpng/pngget.o libpng/pngrutil.o libpng/pngtrans.o libpng/pngwutil.o libpng/pngread.o libpng/pngrio.o libpng/pngwio.o libpng/pngwrite.o libpng/pngrtran.o libpng/pngwtran.o libpng/pngmem.o libpng/pngerror.o libpng/pngpread.o jpeg/tinyjpeg.o jpeg/jidctflt.o jpeg/decode1.o jpeg/decode3.o jpeg/rgb24.o jpeg/bgr24.o jpeg/yuv420p.o jpeg/grey.o jpeg/rgba32.o jpeg/bgra32.o pci/cfgtype.o pci/scan.o pci/bios.o pci/readb.o pci/readw.o pci/readl.o pci/writeb.o pci/writew.o pci/writel.o sys/vesacon_write.o sys/vesaserial_write.o sys/vesa/initvesa.o sys/vesa/drawtxt.o sys/vesa/background.o sys/vesa/alphatbl.o sys/vesa/screencpy.o sys/vesa/fmtpixel.o syslinux/reboot.o syslinux/keyboard.o syslinux/version.o syslinux/pxe_get_cached.o syslinux/pxe_get_nic.o syslinux/pxe_dns.o syslinux/video/fontquery.o syslinux/video/reportmode.o syslinux/addlist.o syslinux/freelist.o syslinux/memmap.o syslinux/movebits.o syslinux/shuffle.o syslinux/shuffle_pm.o syslinux/shuffle_rm.o syslinux/zonelist.o syslinux/dump_mmap.o syslinux/dump_movelist.o syslinux/run_default.o syslinux/run_command.o syslinux/cleanup.o syslinux/localboot.o syslinux/runimage.o syslinux/loadfile.o syslinux/floadfile.o syslinux/zloadfile.o syslinux/load_linux.o syslinux/initramfs.o syslinux/initramfs_file.o syslinux/initramfs_loadfile.o syslinux/initramfs_archive.o sys/libansi.o sys/gpxe.o atexit.o onexit.o abort.o ld: i386 architecture of input file `zlib/adler32.o' is incompatible with i386:x86-64 output ld: i386 architecture of input file `zlib/compress.o' is incompatible with i386:x86-64 output ld: i386 architecture of input file `zlib/crc32.o' is incompatible with i386:x86-64 output ld: i386 architecture of input file `zlib/uncompr.o' is incompatible with i386:x86-64 output ld: i386 architecture of input file `zlib/deflate.o' is incompatible with i386:x86-64 output ld: i386 architecture of input file `zlib/trees.o' is incompatible with i386:x86-64 output ld: i386 architecture of input file `zlib/zutil.o' is incompatible with i386:x86-64 output ld: i386 architecture of input file `zlib/inflate.o' is incompatible with i386:x86-64 output ld: i386 architecture of input file `zlib/infback.o' is incompatible with i386:x86-64 output ld: i386 architecture of input file `zlib/inftrees.o' is incompatible with i386:x86-64 output ld: i386 architecture of input file `zlib/inffast.o' is incompatible with i386:x86-64 output ld: i386 architecture of input file `sys/zfile.o' is incompatible with i386:x86-64 output ld: i386 architecture of input file `sys/zfopen.o' is incompatible with i386:x86-64 output ld: i386 architecture of input file `libpng/png.o' is incompatible with i386:x86-64 output ld: i386 architecture of input file `libpng/pngset.o' is incompatible with i386:x86-64 output ld: i386 architecture of input file `libpng/pngget.o' is incompatible with i386:x86-64 output ld: i386 architecture of input file `libpng/pngrutil.o' is incompatible with i386:x86-64 output ld: i386 architecture of input file `libpng/pngtrans.o' is incompatible with i386:x86-64 output ld: i386 architecture of input file `libpng/pngwutil.o' is incompatible with i386:x86-64 output ld: i386 architecture of input file `libpng/pngread.o' is incompatible with i386:x86-64 output ld: i386 architecture of input file `libpng/pngrio.o' is incompatible with i386:x86-64 output ld: i386 architecture of input file `libpng/pngwio.o' is incompatible with i386:x86-64 output ld: i386 architecture of input file `libpng/pngwrite.o' is incompatible with i386:x86-64 output ld: i386 architecture of input file `libpng/pngrtran.o' is incompatible with i386:x86-64 output ld: i386 architecture of input file `libpng/pngwtran.o' is incompatible with i386:x86-64 output ld: i386 architecture of input file `libpng/pngmem.o' is incompatible with i386:x86-64 output ld: i386 architecture of input file `libpng/pngerror.o' is incompatible with i386:x86-64 output ld: i386 architecture of input file `libpng/pngpread.o' is incompatible with i386:x86-64 output ld: i386 architecture of input file `jpeg/tinyjpeg.o' is incompatible with i386:x86-64 output ld: i386 architecture of input file `jpeg/jidctflt.o' is incompatible with i386:x86-64 output ld: i386 architecture of input file `jpeg/decode1.o' is incompatible with i386:x86-64 output ld: i386 architecture of input file `jpeg/decode3.o' is incompatible with i386:x86-64 output ld: i386 architecture of input file `jpeg/rgb24.o' is incompatible with i386:x86-64 output ld: i386 architecture of input file `jpeg/bgr24.o' is incompatible with i386:x86-64 output ld: i386 architecture of input file `jpeg/yuv420p.o' is incompatible with i386:x86-64 output ld: i386 architecture of input file `jpeg/grey.o' is incompatible with i386:x86-64 output ld: i386 architecture of input file `jpeg/rgba32.o' is incompatible with i386:x86-64 output ld: i386 architecture of input file `jpeg/bgra32.o' is incompatible with i386:x86-64 output ld: i386 architecture of input file `pci/cfgtype.o' is incompatible with i386:x86-64 output ld: i386 architecture of input file `pci/scan.o' is incompatible with i386:x86-64 output ld: i386 architecture of input file `pci/bios.o' is incompatible with i386:x86-64 output ld: i386 architecture of input file `pci/readb.o' is incompatible with i386:x86-64 output ld: i386 architecture of input file `pci/readw.o' is incompatible with i386:x86-64 output ld: i386 architecture of input file `pci/readl.o' is incompatible with i386:x86-64 output ld: i386 architecture of input file `pci/writeb.o' is incompatible with i386:x86-64 output ld: i386 architecture of input file `pci/writew.o' is incompatible with i386:x86-64 output ld: i386 architecture of input file `pci/writel.o' is incompatible with i386:x86-64 output ld: i386 architecture of input file `sys/vesacon_write.o' is incompatible with i386:x86-64 output ld: i386 architecture of input file `sys/vesaserial_write.o' is incompatible with i386:x86-64 output ld: i386 architecture of input file `sys/vesa/initvesa.o' is incompatible with i386:x86-64 output ld: i386 architecture of input file `sys/vesa/drawtxt.o' is incompatible with i386:x86-64 output ld: i386 architecture of input file `sys/vesa/background.o' is incompatible with i386:x86-64 output ld: i386 architecture of input file `sys/vesa/alphatbl.o' is incompatible with i386:x86-64 output ld: i386 architecture of input file `sys/vesa/screencpy.o' is incompatible with i386:x86-64 output ld: i386 architecture of input file `sys/vesa/fmtpixel.o' is incompatible with i386:x86-64 output ld: i386 architecture of input file `syslinux/reboot.o' is incompatible with i386:x86-64 output ld: i386 architecture of input file `syslinux/keyboard.o' is incompatible with i386:x86-64 output ld: i386 architecture of input file `syslinux/version.o' is incompatible with i386:x86-64 output ld: i386 architecture of input file `syslinux/pxe_get_cached.o' is incompatible with i386:x86-64 output ld: i386 architecture of input file `syslinux/pxe_get_nic.o' is incompatible with i386:x86-64 output ld: i386 architecture of input file `syslinux/pxe_dns.o' is incompatible with i386:x86-64 output ld: i386 architecture of input file `syslinux/video/fontquery.o' is incompatible with i386:x86-64 output ld: i386 architecture of input file `syslinux/video/reportmode.o' is incompatible with i386:x86-64 output ld: i386 architecture of input file `syslinux/addlist.o' is incompatible with i386:x86-64 output ld: i386 architecture of input file `syslinux/freelist.o' is incompatible with i386:x86-64 output ld: i386 architecture of input file `syslinux/memmap.o' is incompatible with i386:x86-64 output ld: i386 architecture of input file `syslinux/movebits.o' is incompatible with i386:x86-64 output ld: i386 architecture of input file `syslinux/shuffle.o' is incompatible with i386:x86-64 output ld: i386 architecture of input file `syslinux/shuffle_pm.o' is incompatible with i386:x86-64 output ld: i386 architecture of input file `syslinux/shuffle_rm.o' is incompatible with i386:x86-64 output ld: i386 architecture of input file `syslinux/zonelist.o' is incompatible with i386:x86-64 output ld: i386 architecture of input file `syslinux/dump_mmap.o' is incompatible with i386:x86-64 output ld: i386 architecture of input file `syslinux/dump_movelist.o' is incompatible with i386:x86-64 output ld: i386 architecture of input file `syslinux/run_default.o' is incompatible with i386:x86-64 output ld: i386 architecture of input file `syslinux/run_command.o' is incompatible with i386:x86-64 output ld: i386 architecture of input file `syslinux/cleanup.o' is incompatible with i386:x86-64 output ld: i386 architecture of input file `syslinux/localboot.o' is incompatible with i386:x86-64 output ld: i386 architecture of input file `syslinux/runimage.o' is incompatible with i386:x86-64 output ld: i386 architecture of input file `syslinux/loadfile.o' is incompatible with i386:x86-64 output ld: i386 architecture of input file `syslinux/floadfile.o' is incompatible with i386:x86-64 output ld: i386 architecture of input file `syslinux/zloadfile.o' is incompatible with i386:x86-64 output ld: i386 architecture of input file `syslinux/load_linux.o' is incompatible with i386:x86-64 output ld: i386 architecture of input file `syslinux/initramfs.o' is incompatible with i386:x86-64 output ld: i386 architecture of input file `syslinux/initramfs_file.o' is incompatible with i386:x86-64 output ld: i386 architecture of input file `syslinux/initramfs_loadfile.o' is incompatible with i386:x86-64 output ld: i386 architecture of input file `syslinux/initramfs_archive.o' is incompatible with i386:x86-64 output ld: i386 architecture of input file `sys/libansi.o' is incompatible with i386:x86-64 output ld: i386 architecture of input file `sys/gpxe.o' is incompatible with i386:x86-64 output ld: i386 architecture of input file `atexit.o' is incompatible with i386:x86-64 output ld: i386 architecture of input file `onexit.o' is incompatible with i386:x86-64 output ld: i386 architecture of input file `abort.o' is incompatible with i386:x86-64 output zlib/compress.o: In function `compress2': /tmp/syslinux-6.00/com32/lib/zlib/compress.c:28: undefined reference to `_GLOBAL_OFFSET_TABLE_' zlib/compress.o: In function `compress': /tmp/syslinux-6.00/com32/lib/zlib/compress.c:67: undefined reference to `_GLOBAL_OFFSET_TABLE_' zlib/crc32.o: In function `make_crc_table': /tmp/syslinux-6.00/com32/lib/zlib/crc32.c:109: undefined reference to `_GLOBAL_OFFSET_TABLE_' zlib/crc32.o: In function `get_crc_table': /tmp/syslinux-6.00/com32/lib/zlib/crc32.c:208: undefined reference to `_GLOBAL_OFFSET_TABLE_' zlib/crc32.o: In function `crc32': /tmp/syslinux-6.00/com32/lib/zlib/crc32.c:225: undefined reference to `_GLOBAL_OFFSET_TABLE_' zlib/uncompr.o:/tmp/syslinux-6.00/com32/lib/zlib/uncompr.c:29: more undefined references to `_GLOBAL_OFFSET_TABLE_' follow zlib/zutil.o: In function `zcalloc': /tmp/syslinux-6.00/com32/lib/zlib/zutil.c:306: undefined reference to `malloc' zlib/zutil.o: In function `zcfree': /tmp/syslinux-6.00/com32/lib/zlib/zutil.c:313: undefined reference to `_GLOBAL_OFFSET_TABLE_' /tmp/syslinux-6.00/com32/lib/zlib/zutil.c:314: undefined reference to `free' zlib/inflate.o: In function `inflateReset2': /tmp/syslinux-6.00/com32/lib/zlib/inflate.c:133: undefined reference to `_GLOBAL_OFFSET_TABLE_' zlib/inflate.o: In function `inflateInit2_': [...] ------------- cite off ------------- Viele Gruesse! Helmut
On Tue, 25 Jun, at 03:26:00PM, Helmut Hullen wrote:> ld: i386 architecture of input file `zlib/adler32.o' is incompatible with i386:x86-64 outputBy any chance are you using debian? Or gcc 4.8 on i386? Your toolchain isn't compiling zlib/adler32.o as an x86-64 object, rather it's dropping the '-m64' flag and compiling it as 32-bit. -- Matt Fleming, Intel Open Source Technology Center
Hi, Matt Fleming wrote:> On Tue, 25 Jun, at 01:52:00PM, Helmut Hullen wrote: >> Thanks - now it crashes later ... > > What crash are you seeing? > >> I don't have the ia64 files which are needed for a complete binary. But >> maybe that's only my special problem. > > You shouldn't need ia64 files to build ia32 and x86-64 versions of > gnu-efi or Syslinux.Just to clarify: On a x86_64 system with gnu-efi 3.0u I checked out tag "syslinux-6.01-pre5" and just run "make". It failed with make[3]: Entering directory `/tmp/sysl/syslinux/efi32/efi' /tmp/sysl/syslinux/mk/efi.mk:27: *** Missing ia32 gnu-efi header files. Stop. I didn't expect that. "make bios" will run without an error, but I thought it should be possible to build syslinux 6.01-pre5 with just make (when gnu-efi >=3.0u is available). Or how should I compile a version for an EFI-capable system (x86_64)? Am I wrong? -- Regards, Igor
On Sat, 29 Jun, at 01:57:58AM, Igor Sverkos wrote:> Hi, > > Matt Fleming wrote: > > On Tue, 25 Jun, at 01:52:00PM, Helmut Hullen wrote: > >> Thanks - now it crashes later ... > > > > What crash are you seeing? > > > >> I don't have the ia64 files which are needed for a complete binary. But > >> maybe that's only my special problem. > > > > You shouldn't need ia64 files to build ia32 and x86-64 versions of > > gnu-efi or Syslinux. > > Just to clarify: > > On a x86_64 system with gnu-efi 3.0u I checked out tag > "syslinux-6.01-pre5" and just run "make". It failed with > > make[3]: Entering directory `/tmp/sysl/syslinux/efi32/efi' > /tmp/sysl/syslinux/mk/efi.mk:27: *** Missing ia32 gnu-efi header files. Stop. > > I didn't expect that. "make bios" will run without an error, but I > thought it should be possible to build syslinux 6.01-pre5 with just > make (when gnu-efi >=3.0u is available). Or how should I compile a > version for an EFI-capable system (x86_64)?'make efi64' will build just for x86-64. Likewise, 'make efi32' will build just for i386. You can combine these, so to build BIOS and efi64 you'd do, make bios efi64> Am I wrong?Did you install gnu-efi from source or from your distributions package manager? You need both the x86-64 libraries and the ia32 libraries to build both EFI versions of Syslinux. -- Matt Fleming, Intel Open Source Technology Center