Hello -

I am unable to successfully build wimboot as found at
https://git.ipxe.org/wimboot.git


Build output is attached.

Environment:

Arch Linux
GCC 7.2.0
GNU Make 4.2.1
glibc 2.26

Reproduction:
1.) git clone https://git.ipxe.org/wimboot.git
2.) cd wimboot/src
3.) make


-- 
brent saner
https://square-r00t.net/
GPG info: https://square-r00t.net/gpg-info
cc -Os -ffreestanding -Wall -W -Werror -nostdinc -I. -fshort-wchar -DVERSION="\"v2.6.0\"" -fno-stack-protector -fno-dwarf2-cfi-asm -fno-exceptions  -fno-unwind-tables -fno-asynchronous-unwind-tables   -include compiler.h -m64 -mno-red-zone -fpie -DASSEMBLY -Ui386 -E prefix.S -o prefix.x86_64.s
as --64 x86_64.i prefix.x86_64.s -o prefix.x86_64.o
cc -Os -ffreestanding -Wall -W -Werror -nostdinc -I. -fshort-wchar -DVERSION="\"v2.6.0\"" -fno-stack-protector -fno-dwarf2-cfi-asm -fno-exceptions  -fno-unwind-tables -fno-asynchronous-unwind-tables   -include compiler.h -m64 -mno-red-zone -fpie -DASSEMBLY -Ui386 -E startup.S -o startup.x86_64.s
as --64 x86_64.i startup.x86_64.s -o startup.x86_64.o
cc -Os -ffreestanding -Wall -W -Werror -nostdinc -I. -fshort-wchar -DVERSION="\"v2.6.0\"" -fno-stack-protector -fno-dwarf2-cfi-asm -fno-exceptions  -fno-unwind-tables -fno-asynchronous-unwind-tables   -include compiler.h -m64 -mno-red-zone -fpie -DASSEMBLY -Ui386 -E callback.S -o callback.x86_64.s
as --64 x86_64.i callback.x86_64.s -o callback.x86_64.o
cc -Os -ffreestanding -Wall -W -Werror -nostdinc -I. -fshort-wchar -DVERSION="\"v2.6.0\"" -fno-stack-protector -fno-dwarf2-cfi-asm -fno-exceptions  -fno-unwind-tables -fno-asynchronous-unwind-tables   -include compiler.h -m64 -mno-red-zone -fpie -S main.c -o main.x86_64.s
as --64 x86_64.i main.x86_64.s -o main.x86_64.o
cc -Os -ffreestanding -Wall -W -Werror -nostdinc -I. -fshort-wchar -DVERSION="\"v2.6.0\"" -fno-stack-protector -fno-dwarf2-cfi-asm -fno-exceptions  -fno-unwind-tables -fno-asynchronous-unwind-tables   -include compiler.h -m64 -mno-red-zone -fpie -S vsprintf.c -o vsprintf.x86_64.s
as --64 x86_64.i vsprintf.x86_64.s -o vsprintf.x86_64.o
cc -Os -ffreestanding -Wall -W -Werror -nostdinc -I. -fshort-wchar -DVERSION="\"v2.6.0\"" -fno-stack-protector -fno-dwarf2-cfi-asm -fno-exceptions  -fno-unwind-tables -fno-asynchronous-unwind-tables   -include compiler.h -m64 -mno-red-zone -fpie -S string.c -o string.x86_64.s
as --64 x86_64.i string.x86_64.s -o string.x86_64.o
cc -Os -ffreestanding -Wall -W -Werror -nostdinc -I. -fshort-wchar -DVERSION="\"v2.6.0\"" -fno-stack-protector -fno-dwarf2-cfi-asm -fno-exceptions  -fno-unwind-tables -fno-asynchronous-unwind-tables   -include compiler.h -m64 -mno-red-zone -fpie -S peloader.c -o peloader.x86_64.s
as --64 x86_64.i peloader.x86_64.s -o peloader.x86_64.o
cc -Os -ffreestanding -Wall -W -Werror -nostdinc -I. -fshort-wchar -DVERSION="\"v2.6.0\"" -fno-stack-protector -fno-dwarf2-cfi-asm -fno-exceptions  -fno-unwind-tables -fno-asynchronous-unwind-tables   -include compiler.h -m64 -mno-red-zone -fpie -S int13.c -o int13.x86_64.s
as --64 x86_64.i int13.x86_64.s -o int13.x86_64.o
cc -Os -ffreestanding -Wall -W -Werror -nostdinc -I. -fshort-wchar -DVERSION="\"v2.6.0\"" -fno-stack-protector -fno-dwarf2-cfi-asm -fno-exceptions  -fno-unwind-tables -fno-asynchronous-unwind-tables   -include compiler.h -m64 -mno-red-zone -fpie -S vdisk.c -o vdisk.x86_64.s
as --64 x86_64.i vdisk.x86_64.s -o vdisk.x86_64.o
cc -Os -ffreestanding -Wall -W -Werror -nostdinc -I. -fshort-wchar -DVERSION="\"v2.6.0\"" -fno-stack-protector -fno-dwarf2-cfi-asm -fno-exceptions  -fno-unwind-tables -fno-asynchronous-unwind-tables   -include compiler.h -m64 -mno-red-zone -fpie -S cpio.c -o cpio.x86_64.s
as --64 x86_64.i cpio.x86_64.s -o cpio.x86_64.o
cc -Os -ffreestanding -Wall -W -Werror -nostdinc -I. -fshort-wchar -DVERSION="\"v2.6.0\"" -fno-stack-protector -fno-dwarf2-cfi-asm -fno-exceptions  -fno-unwind-tables -fno-asynchronous-unwind-tables   -include compiler.h -m64 -mno-red-zone -fpie -S stdio.c -o stdio.x86_64.s
as --64 x86_64.i stdio.x86_64.s -o stdio.x86_64.o
cc -Os -ffreestanding -Wall -W -Werror -nostdinc -I. -fshort-wchar -DVERSION="\"v2.6.0\"" -fno-stack-protector -fno-dwarf2-cfi-asm -fno-exceptions  -fno-unwind-tables -fno-asynchronous-unwind-tables   -include compiler.h -m64 -mno-red-zone -fpie -S lznt1.c -o lznt1.x86_64.s
as --64 x86_64.i lznt1.x86_64.s -o lznt1.x86_64.o
cc -Os -ffreestanding -Wall -W -Werror -nostdinc -I. -fshort-wchar -DVERSION="\"v2.6.0\"" -fno-stack-protector -fno-dwarf2-cfi-asm -fno-exceptions  -fno-unwind-tables -fno-asynchronous-unwind-tables   -include compiler.h -m64 -mno-red-zone -fpie -S xca.c -o xca.x86_64.s
as --64 x86_64.i xca.x86_64.s -o xca.x86_64.o
cc -Os -ffreestanding -Wall -W -Werror -nostdinc -I. -fshort-wchar -DVERSION="\"v2.6.0\"" -fno-stack-protector -fno-dwarf2-cfi-asm -fno-exceptions  -fno-unwind-tables -fno-asynchronous-unwind-tables   -include compiler.h -m64 -mno-red-zone -fpie -S die.c -o die.x86_64.s
as --64 x86_64.i die.x86_64.s -o die.x86_64.o
cc -Os -ffreestanding -Wall -W -Werror -nostdinc -I. -fshort-wchar -DVERSION="\"v2.6.0\"" -fno-stack-protector -fno-dwarf2-cfi-asm -fno-exceptions  -fno-unwind-tables -fno-asynchronous-unwind-tables   -include compiler.h -m64 -mno-red-zone -fpie -S efi.c -o efi.x86_64.s
as --64 x86_64.i efi.x86_64.s -o efi.x86_64.o
cc -Os -ffreestanding -Wall -W -Werror -nostdinc -I. -fshort-wchar -DVERSION="\"v2.6.0\"" -fno-stack-protector -fno-dwarf2-cfi-asm -fno-exceptions  -fno-unwind-tables -fno-asynchronous-unwind-tables   -include compiler.h -m64 -mno-red-zone -fpie -S efimain.c -o efimain.x86_64.s
as --64 x86_64.i efimain.x86_64.s -o efimain.x86_64.o
cc -Os -ffreestanding -Wall -W -Werror -nostdinc -I. -fshort-wchar -DVERSION="\"v2.6.0\"" -fno-stack-protector -fno-dwarf2-cfi-asm -fno-exceptions  -fno-unwind-tables -fno-asynchronous-unwind-tables   -include compiler.h -m64 -mno-red-zone -fpie -S efiguid.c -o efiguid.x86_64.s
as --64 x86_64.i efiguid.x86_64.s -o efiguid.x86_64.o
cc -Os -ffreestanding -Wall -W -Werror -nostdinc -I. -fshort-wchar -DVERSION="\"v2.6.0\"" -fno-stack-protector -fno-dwarf2-cfi-asm -fno-exceptions  -fno-unwind-tables -fno-asynchronous-unwind-tables   -include compiler.h -m64 -mno-red-zone -fpie -S efifile.c -o efifile.x86_64.s
as --64 x86_64.i efifile.x86_64.s -o efifile.x86_64.o
cc -Os -ffreestanding -Wall -W -Werror -nostdinc -I. -fshort-wchar -DVERSION="\"v2.6.0\"" -fno-stack-protector -fno-dwarf2-cfi-asm -fno-exceptions  -fno-unwind-tables -fno-asynchronous-unwind-tables   -include compiler.h -m64 -mno-red-zone -fpie -S efipath.c -o efipath.x86_64.s
as --64 x86_64.i efipath.x86_64.s -o efipath.x86_64.o
cc -Os -ffreestanding -Wall -W -Werror -nostdinc -I. -fshort-wchar -DVERSION="\"v2.6.0\"" -fno-stack-protector -fno-dwarf2-cfi-asm -fno-exceptions  -fno-unwind-tables -fno-asynchronous-unwind-tables   -include compiler.h -m64 -mno-red-zone -fpie -S efiboot.c -o efiboot.x86_64.s
as --64 x86_64.i efiboot.x86_64.s -o efiboot.x86_64.o
cc -Os -ffreestanding -Wall -W -Werror -nostdinc -I. -fshort-wchar -DVERSION="\"v2.6.0\"" -fno-stack-protector -fno-dwarf2-cfi-asm -fno-exceptions  -fno-unwind-tables -fno-asynchronous-unwind-tables   -include compiler.h -m64 -mno-red-zone -fpie -S efiblock.c -o efiblock.x86_64.s
as --64 x86_64.i efiblock.x86_64.s -o efiblock.x86_64.o
cc -Os -ffreestanding -Wall -W -Werror -nostdinc -I. -fshort-wchar -DVERSION="\"v2.6.0\"" -fno-stack-protector -fno-dwarf2-cfi-asm -fno-exceptions  -fno-unwind-tables -fno-asynchronous-unwind-tables   -include compiler.h -m64 -mno-red-zone -fpie -S cmdline.c -o cmdline.x86_64.s
as --64 x86_64.i cmdline.x86_64.s -o cmdline.x86_64.o
cc -Os -ffreestanding -Wall -W -Werror -nostdinc -I. -fshort-wchar -DVERSION="\"v2.6.0\"" -fno-stack-protector -fno-dwarf2-cfi-asm -fno-exceptions  -fno-unwind-tables -fno-asynchronous-unwind-tables   -include compiler.h -m64 -mno-red-zone -fpie -S wimpatch.c -o wimpatch.x86_64.s
as --64 x86_64.i wimpatch.x86_64.s -o wimpatch.x86_64.o
cc -Os -ffreestanding -Wall -W -Werror -nostdinc -I. -fshort-wchar -DVERSION="\"v2.6.0\"" -fno-stack-protector -fno-dwarf2-cfi-asm -fno-exceptions  -fno-unwind-tables -fno-asynchronous-unwind-tables   -include compiler.h -m64 -mno-red-zone -fpie -S huffman.c -o huffman.x86_64.s
as --64 x86_64.i huffman.x86_64.s -o huffman.x86_64.o
cc -Os -ffreestanding -Wall -W -Werror -nostdinc -I. -fshort-wchar -DVERSION="\"v2.6.0\"" -fno-stack-protector -fno-dwarf2-cfi-asm -fno-exceptions  -fno-unwind-tables -fno-asynchronous-unwind-tables   -include compiler.h -m64 -mno-red-zone -fpie -S lzx.c -o lzx.x86_64.s
as --64 x86_64.i lzx.x86_64.s -o lzx.x86_64.o
cc -Os -ffreestanding -Wall -W -Werror -nostdinc -I. -fshort-wchar -DVERSION="\"v2.6.0\"" -fno-stack-protector -fno-dwarf2-cfi-asm -fno-exceptions  -fno-unwind-tables -fno-asynchronous-unwind-tables   -include compiler.h -m64 -mno-red-zone -fpie -S wim.c -o wim.x86_64.s
as --64 x86_64.i wim.x86_64.s -o wim.x86_64.o
cc -Os -ffreestanding -Wall -W -Werror -nostdinc -I. -fshort-wchar -DVERSION="\"v2.6.0\"" -fno-stack-protector -fno-dwarf2-cfi-asm -fno-exceptions  -fno-unwind-tables -fno-asynchronous-unwind-tables   -include compiler.h -m64 -mno-red-zone -fpie -S wimfile.c -o wimfile.x86_64.s
as --64 x86_64.i wimfile.x86_64.s -o wimfile.x86_64.o
cc -Os -ffreestanding -Wall -W -Werror -nostdinc -I. -fshort-wchar -DVERSION="\"v2.6.0\"" -fno-stack-protector -fno-dwarf2-cfi-asm -fno-exceptions  -fno-unwind-tables -fno-asynchronous-unwind-tables   -include compiler.h -m64 -mno-red-zone -fpie -S pause.c -o pause.x86_64.s
as --64 x86_64.i pause.x86_64.s -o pause.x86_64.o
cc -Os -ffreestanding -Wall -W -Werror -nostdinc -I. -fshort-wchar -DVERSION="\"v2.6.0\"" -fno-stack-protector -fno-dwarf2-cfi-asm -fno-exceptions  -fno-unwind-tables -fno-asynchronous-unwind-tables   -include compiler.h -m64 -mno-red-zone -fpie -S sha1.c -o sha1.x86_64.s
as --64 x86_64.i sha1.x86_64.s -o sha1.x86_64.o
cc -Os -ffreestanding -Wall -W -Werror -nostdinc -I. -fshort-wchar -DVERSION="\"v2.6.0\"" -fno-stack-protector -fno-dwarf2-cfi-asm -fno-exceptions  -fno-unwind-tables -fno-asynchronous-unwind-tables   -include compiler.h -m32 -march=i386 -malign-double -DASSEMBLY -Ui386 -E prefix.S -o prefix.i386.s
as --64 i386.i prefix.i386.s -o prefix.i386.x86_64.raw.o
objcopy --prefix-symbols=__i386_ prefix.i386.x86_64.raw.o prefix.i386.x86_64.o
cc -Os -ffreestanding -Wall -W -Werror -nostdinc -I. -fshort-wchar -DVERSION="\"v2.6.0\"" -fno-stack-protector -fno-dwarf2-cfi-asm -fno-exceptions  -fno-unwind-tables -fno-asynchronous-unwind-tables   -include compiler.h -m32 -march=i386 -malign-double -DASSEMBLY -Ui386 -E startup.S -o startup.i386.s
as --64 i386.i startup.i386.s -o startup.i386.x86_64.raw.o
objcopy --prefix-symbols=__i386_ startup.i386.x86_64.raw.o startup.i386.x86_64.o
cc -Os -ffreestanding -Wall -W -Werror -nostdinc -I. -fshort-wchar -DVERSION="\"v2.6.0\"" -fno-stack-protector -fno-dwarf2-cfi-asm -fno-exceptions  -fno-unwind-tables -fno-asynchronous-unwind-tables   -include compiler.h -m32 -march=i386 -malign-double -DASSEMBLY -Ui386 -E callback.S -o callback.i386.s
as --64 i386.i callback.i386.s -o callback.i386.x86_64.raw.o
objcopy --prefix-symbols=__i386_ callback.i386.x86_64.raw.o callback.i386.x86_64.o
cc -Os -ffreestanding -Wall -W -Werror -nostdinc -I. -fshort-wchar -DVERSION="\"v2.6.0\"" -fno-stack-protector -fno-dwarf2-cfi-asm -fno-exceptions  -fno-unwind-tables -fno-asynchronous-unwind-tables   -include compiler.h -m32 -march=i386 -malign-double -S main.c -o main.i386.s
as --64 i386.i main.i386.s -o main.i386.x86_64.raw.o
main.i386.s: Assembler messages:
main.i386.s:82: Error: 8-byte relocation cannot be applied to 4-byte field
main.i386.s:91: Error: 8-byte relocation cannot be applied to 4-byte field
main.i386.s:99: Error: 8-byte relocation cannot be applied to 4-byte field
main.i386.s:102: Error: 8-byte relocation cannot be applied to 4-byte field
main.i386.s:107: Error: 8-byte relocation cannot be applied to 4-byte field
main.i386.s:115: Error: 8-byte relocation cannot be applied to 4-byte field
main.i386.s:119: Error: 8-byte relocation cannot be applied to 4-byte field
main.i386.s:142: Error: 8-byte relocation cannot be applied to 4-byte field
main.i386.s:146: Error: 8-byte relocation cannot be applied to 4-byte field
main.i386.s:173: Error: 8-byte relocation cannot be applied to 4-byte field
main.i386.s:177: Error: 8-byte relocation cannot be applied to 4-byte field
main.i386.s:193: Error: 8-byte relocation cannot be applied to 4-byte field
main.i386.s:199: Error: 8-byte relocation cannot be applied to 4-byte field
main.i386.s:202: Error: 8-byte relocation cannot be applied to 4-byte field
main.i386.s:203: Error: 8-byte relocation cannot be applied to 4-byte field
main.i386.s:209: Error: 8-byte relocation cannot be applied to 4-byte field
main.i386.s:213: Error: 8-byte relocation cannot be applied to 4-byte field
main.i386.s:214: Error: 8-byte relocation cannot be applied to 4-byte field
main.i386.s:217: Error: 8-byte relocation cannot be applied to 4-byte field
main.i386.s:226: Error: 8-byte relocation cannot be applied to 4-byte field
main.i386.s:229: Error: 8-byte relocation cannot be applied to 4-byte field
main.i386.s:237: Error: 8-byte relocation cannot be applied to 4-byte field
main.i386.s:248: Error: 8-byte relocation cannot be applied to 4-byte field
main.i386.s:253: Error: 8-byte relocation cannot be applied to 4-byte field
main.i386.s:258: Error: 8-byte relocation cannot be applied to 4-byte field
main.i386.s:260: Error: 8-byte relocation cannot be applied to 4-byte field
main.i386.s:262: Error: 8-byte relocation cannot be applied to 4-byte field
main.i386.s:264: Error: 8-byte relocation cannot be applied to 4-byte field
main.i386.s:267: Error: 8-byte relocation cannot be applied to 4-byte field
main.i386.s:273: Error: 8-byte relocation cannot be applied to 4-byte field
main.i386.s:307: Error: 8-byte relocation cannot be applied to 4-byte field
main.i386.s:357: Error: 8-byte relocation cannot be applied to 4-byte field
main.i386.s:361: Error: 8-byte relocation cannot be applied to 4-byte field
main.i386.s:364: Error: 8-byte relocation cannot be applied to 4-byte field
main.i386.s:366: Error: 8-byte relocation cannot be applied to 4-byte field
main.i386.s:367: Error: 8-byte relocation cannot be applied to 4-byte field
main.i386.s:373: Error: 8-byte relocation cannot be applied to 4-byte field
main.i386.s:377: Error: 8-byte relocation cannot be applied to 4-byte field
main.i386.s:378: Error: 8-byte relocation cannot be applied to 4-byte field
main.i386.s:382: Error: 8-byte relocation cannot be applied to 4-byte field
main.i386.s:390: Error: 8-byte relocation cannot be applied to 4-byte field
main.i386.s:398: Error: 8-byte relocation cannot be applied to 4-byte field
main.i386.s:411: Error: 8-byte relocation cannot be applied to 4-byte field
main.i386.s:419: Error: 8-byte relocation cannot be applied to 4-byte field
main.i386.s:423: Error: 8-byte relocation cannot be applied to 4-byte field
main.i386.s:425: Error: 8-byte relocation cannot be applied to 4-byte field
main.i386.s:426: Error: 8-byte relocation cannot be applied to 4-byte field
main.i386.s:428: Error: 8-byte relocation cannot be applied to 4-byte field
main.i386.s:429: Error: 8-byte relocation cannot be applied to 4-byte field
main.i386.s:430: Error: 8-byte relocation cannot be applied to 4-byte field
main.i386.s:433: Error: 8-byte relocation cannot be applied to 4-byte field
main.i386.s:434: Error: 8-byte relocation cannot be applied to 4-byte field
main.i386.s:437: Error: 8-byte relocation cannot be applied to 4-byte field
main.i386.s:438: Error: 8-byte relocation cannot be applied to 4-byte field
main.i386.s:442: Error: 8-byte relocation cannot be applied to 4-byte field
main.i386.s:443: Error: 8-byte relocation cannot be applied to 4-byte field
main.i386.s:444: Error: 8-byte relocation cannot be applied to 4-byte field
main.i386.s:447: Error: 8-byte relocation cannot be applied to 4-byte field
main.i386.s:448: Error: 8-byte relocation cannot be applied to 4-byte field
main.i386.s:449: Error: 8-byte relocation cannot be applied to 4-byte field
main.i386.s:453: Error: 8-byte relocation cannot be applied to 4-byte field
main.i386.s:454: Error: 8-byte relocation cannot be applied to 4-byte field
main.i386.s:457: Error: 8-byte relocation cannot be applied to 4-byte field
main.i386.s:459: Error: 8-byte relocation cannot be applied to 4-byte field
main.i386.s:463: Error: 8-byte relocation cannot be applied to 4-byte field
main.i386.s:470: Error: 8-byte relocation cannot be applied to 4-byte field
make: *** [Makefile:127: main.i386.x86_64.raw.o] Error 1
rm pause.x86_64.s startup.x86_64.s efiguid.x86_64.s prefix.i386.s lznt1.x86_64.s efiblock.x86_64.s wimpatch.x86_64.s string.x86_64.s main.i386.s cpio.x86_64.s callback.i386.x86_64.raw.o cmdline.x86_64.s sha1.x86_64.s efipath.x86_64.s huffman.x86_64.s startup.i386.x86_64.raw.o startup.i386.s efifile.x86_64.s die.x86_64.s efi.x86_64.s int13.x86_64.s xca.x86_64.s callback.i386.s vsprintf.x86_64.s prefix.i386.x86_64.raw.o efiboot.x86_64.s main.x86_64.s lzx.x86_64.s prefix.x86_64.s callback.x86_64.s efimain.x86_64.s stdio.x86_64.s peloader.x86_64.s vdisk.x86_64.s wimfile.x86_64.s wim.x86_64.s

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
ipxe-devel mailing list
ipxe-devel@lists.ipxe.org
https://lists.ipxe.org/mailman/listinfo.cgi/ipxe-devel

Reply via email to