Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 725724 - sys-boot/lilo fails to compile
Summary: sys-boot/lilo fails to compile
Status: RESOLVED DUPLICATE of bug 723262
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Tony Vroon (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-05-28 07:14 UTC by Agostino Sarubbo
Modified: 2020-07-31 01:37 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (build.log,7.08 KB, text/plain)
2020-05-28 07:14 UTC, Agostino Sarubbo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2020-05-28 07:14:08 UTC
This is an auto-filed bug because sys-boot/lilo fails to compile.
The issue was originally discovered on amd64, but it may be reproducible on other arches as well.
If you think that a different summary clarifies the issue better, feel free to change it.
Attached build log and emerge --info.

NOTE:
If you need further logs, feel free to ask.
Comment 1 Agostino Sarubbo gentoo-dev 2020-05-28 07:14:15 UTC
Created attachment 642164 [details]
build.log

build log and emerge --info
Comment 2 Petr Zima 2020-07-08 06:35:54 UTC
Confirming, same here. USE flags:

-device-mapper minimal -pxeserial -static

The problem is during linking:

[...]
/usr/lib/gcc/x86_64-pc-linux-gnu/10.1.0/../../../../x86_64-pc-linux-gnu/bin/ld: raid.o:(.bss+0x8): multiple definition of `do_md_install'; lilo.o:(.bss+0x20): first defined here
/usr/lib/gcc/x86_64-pc-linux-gnu/10.1.0/../../../../x86_64-pc-linux-gnu/bin/ld: raid.o:(.bss+0x0): multiple definition of `md_bios'; lilo.o:(.bss+0x18): first defined here
/usr/lib/gcc/x86_64-pc-linux-gnu/10.1.0/../../../../x86_64-pc-linux-gnu/bin/ld: raid.o:(.bss+0x4): multiple definition of `ndisk'; lilo.o:(.bss+0x1c): first defined here
/usr/lib/gcc/x86_64-pc-linux-gnu/10.1.0/../../../../x86_64-pc-linux-gnu/bin/ld: geometry.o:(.bss+0x60): multiple definition of `md_bios'; lilo.o:(.bss+0x18): first defined here
/usr/lib/gcc/x86_64-pc-linux-gnu/10.1.0/../../../../x86_64-pc-linux-gnu/bin/ld: geometry.o:(.bss+0x68): multiple definition of `do_md_install'; lilo.o:(.bss+0x20): first defined here
/usr/lib/gcc/x86_64-pc-linux-gnu/10.1.0/../../../../x86_64-pc-linux-gnu/bin/ld: geometry.o:(.bss+0x64): multiple definition of `ndisk'; lilo.o:(.bss+0x1c): first defined here
/usr/lib/gcc/x86_64-pc-linux-gnu/10.1.0/../../../../x86_64-pc-linux-gnu/bin/ld: common.o:(.bss+0x154): multiple definition of `do_md_install'; lilo.o:(.bss+0x20): first defined here
/usr/lib/gcc/x86_64-pc-linux-gnu/10.1.0/../../../../x86_64-pc-linux-gnu/bin/ld: bsect.o:(.bss+0x0): multiple definition of `boot_dev_nr'; common.o:(.bss+0x15c): first defined here
/usr/lib/gcc/x86_64-pc-linux-gnu/10.1.0/../../../../x86_64-pc-linux-gnu/bin/ld: bsect.o:(.bss+0xc): multiple definition of `do_md_install'; lilo.o:(.bss+0x20): first defined here
/usr/lib/gcc/x86_64-pc-linux-gnu/10.1.0/../../../../x86_64-pc-linux-gnu/bin/ld: bsect.o:(.bss+0x4): multiple definition of `md_bios'; lilo.o:(.bss+0x18): first defined here
/usr/lib/gcc/x86_64-pc-linux-gnu/10.1.0/../../../../x86_64-pc-linux-gnu/bin/ld: bsect.o:(.bss+0x8): multiple definition of `ndisk'; lilo.o:(.bss+0x1c): first defined here
/usr/lib/gcc/x86_64-pc-linux-gnu/10.1.0/../../../../x86_64-pc-linux-gnu/bin/ld: identify.o:(.bss+0x0): multiple definition of `identify'; common.o:(.bss+0x160): first defined here
collect2: error: ld returned 1 exit status
make[1]: *** [Makefile:178: lilo] Error 1
Comment 3 Joshua Kinard gentoo-dev 2020-07-31 01:37:02 UTC

*** This bug has been marked as a duplicate of bug 723262 ***