Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 711512 - sys-boot/grub-2.05_alpha20200228 with GRUB_PLATFORMS="emu" - fails while linking: date.c:49: undefined reference to `grub_get_weekday_name'
Summary: sys-boot/grub-2.05_alpha20200228 with GRUB_PLATFORMS="emu" - fails while link...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Mike Gilbert
URL: https://lists.gnu.org/archive/html/gr...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-03-04 14:15 UTC by Attila Tóth
Modified: 2021-06-20 18:02 UTC (History)
4 users (show)

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


Attachments
build.log.gz (build.log.gz,69.39 KB, application/x-gzip)
2020-03-04 14:16 UTC, Attila Tóth
Details
emerge.info.gz (emerge.info.gz,9.12 KB, application/x-gzip)
2020-03-04 14:16 UTC, Attila Tóth
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Attila Tóth 2020-03-04 14:15:36 UTC
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: date.module: in function `grub_cmd_date':
/var/tmp/portage/sys-boot/grub-2.05_alpha20200228/work/grub-2.05_alpha20200228/grub-core/commands/date.c:49: undefined reference to `grub_get_weekday_name'
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: ls.module: in function `print_files_long':
/var/tmp/portage/sys-boot/grub-2.05_alpha20200228/work/grub-2.05_alpha20200228/grub-core/commands/ls.c:155: undefined reference to `grub_unixtime2datetime'
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: /var/tmp/portage/sys-boot/grub-2.05_alpha20200228/work/grub-2.05_alpha20200228/grub-core/commands/ls.c:157: undefined reference to `grub_get_weekday_name'
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: normal.module: in function `grub_normal_print_device_info':
/var/tmp/portage/sys-boot/grub-2.05_alpha20200228/work/grub-2.05_alpha20200228/grub-core/normal/misc.c:144: undefined reference to `grub_unixtime2datetime'
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: /var/tmp/portage/sys-boot/grub-2.05_alpha20200228/work/grub-2.05_alpha20200228/grub-core/normal/misc.c:148: undefined reference to `grub_get_weekday_name'
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: datehook.module: in function `grub_read_hook_datetime':
/var/tmp/portage/sys-boot/grub-2.05_alpha20200228/work/grub-2.05_alpha20200228/grub-core/hook/datehook.c:78: undefined reference to `grub_get_weekday_name'
collect2: error: ld returned 1 exit status
make[3]: *** [Makefile:28813: grub-emu] Error 1
make[3]: *** Waiting for unfinished jobs....


Reproducible: Always
Comment 1 Attila Tóth 2020-03-04 14:16:09 UTC
Created attachment 617046 [details]
build.log.gz

build.log.gz
Comment 2 Attila Tóth 2020-03-04 14:16:30 UTC
Created attachment 617048 [details]
emerge.info.gz

emerge.info.gz
Comment 3 Ben Kohler gentoo-dev 2020-03-04 14:47:26 UTC
For those looking to reproduce this, you need GRUB_PLATFORMS=emu to see this failure
Comment 4 Attila Tóth 2020-03-08 19:11:05 UTC
URL: https://lists.gnu.org/archive/html/grub-devel/2020-03/msg00056.html

Works for me.
Comment 5 Mike Gilbert gentoo-dev 2021-06-20 18:02:00 UTC
Fixed in 2.06.