Bug#585668: grub2: FTBFS on kfreebsd-amd64: /usr/bin/ld: cannot find -lgcc
Cyril Brulebois
kibi at debian.org
Sat Jun 12 22:06:34 UTC 2010
Source: grub2
Version: 1.98+20100602-2
Severity: serious
Justification: FTBFS
Hi,
maybe a toolchain issue, or even buildd outdatedness, but reporting here
since grub2 is currently OOD on kfreebsd-amd64, so that it's not
forgotten about:
| gcc-4.4 -o kernel.img kernel_img-kern_i386_pc_startup.o kernel_img-kern_i386_misc.o kernel_img-kern_main.o kernel_img-kern_device.o kernel_img-kern_disk.o kernel_img-kern_dl.o kernel_img-kern_file.o kernel_img-kern_fs.o kernel_img-kern_err.o kernel_img-kern_misc.o kernel_img-kern_mm.o kernel_img-kern_term.o kernel_img-kern_rescue_parser.o kernel_img-kern_rescue_reader.o kernel_img-kern_time.o kernel_img-kern_list.o kernel_img-kern_handler.o kernel_img-kern_command.o kernel_img-kern_corecmd.o kernel_img-kern___target_cpu__dl.o kernel_img-kern_i386_pc_init.o kernel_img-kern_i386_pc_mmap.o kernel_img-kern_parser.o kernel_img-kern_partition.o kernel_img-kern_i386_tsc.o kernel_img-kern_i386_pit.o kernel_img-kern_generic_rtc_get_time_ms.o kernel_img-kern_generic_millisleep.o kernel_img-kern_env.o kernel_img-term_i386_pc_console.o kernel_img-term_i386_vga_common.o kernel_img-symlist.o -nostdlib -static-libgcc -m32 -Wl,--build-id=none -lgcc -nostdlib -Wl,-N -Wl,-Ttext,0x8200 -mr
td -mregparm=3 -I/build/buildd-grub2_1.98+20100602-2-kfreebsd-amd64-mLuwK0/grub2-1.98+20100602/debian/grub-extras/zfs/include
| /usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-kfreebsd-gnu/4.4.4/libgcc.a when searching for -lgcc
| /usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-kfreebsd-gnu/4.4.4/libgcc.a when searching for -lgcc
| /usr/bin/ld: cannot find -lgcc
| collect2: ld returned 1 exit status
| make[1]: *** [kernel.img] Error 1
Full build logs:
https://buildd.debian.org/status/package.php?p=grub2
Mraw,
KiBi.
More information about the Pkg-grub-devel
mailing list