Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 888466 - sys-boot/syslinux-6.04_pre1-r5 mbr_c.bin: too big (444 > 440)
Summary: sys-boot/syslinux-6.04_pre1-r5 mbr_c.bin: too big (444 > 440)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Chí-Thanh Christopher Nguyễn
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-12-25 22:26 UTC by CaptainBlood
Modified: 2022-12-27 16:52 UTC (History)
1 user (show)

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


Attachments
sys-boot/syslinux-6.04_pre1-r5{bios,uefi] (sys-boot:syslinux-6.04_pre1-r5:20221225-210721.log.gz,58.81 KB, application/gzip)
2022-12-25 22:26 UTC, CaptainBlood
Details
sys-boot/syslinux-6.04_pre1-r5[uefi] (sys-boot:syslinux-6.04_pre1-r5:20221225-211204.log.gz,55.26 KB, application/gzip)
2022-12-25 22:31 UTC, CaptainBlood
Details
sys-boot/syslinux-6.04_pre1-r5[bios] (sys-boot:syslinux-6.04_pre1-r5:20221225-211911.log.gz,57.58 KB, application/gzip)
2022-12-25 22:32 UTC, CaptainBlood
Details
build log (sys-boot:syslinux-6.04_pre1-r5:20221227-125623.log.gz,64.15 KB, application/gzip)
2022-12-27 12:05 UTC, CaptainBlood
Details

Note You need to log in before you can comment on or make changes to this bug.
Description CaptainBlood 2022-12-25 22:26:12 UTC
Created attachment 844902 [details]
sys-boot/syslinux-6.04_pre1-r5{bios,uefi]

fails to upgrade as:
sys-boot/syslinux-6.04_pre1-r5{bios,uefi]
sys-boot/syslinux-6.04_pre1-r5{bios]
sys-boot/syslinux-6.04_pre1-r5{uefi]

emerge --info sys-boot/syslinux
Portage 3.0.41 (python 3.10.9-final-0, default/linux/amd64/17.1/desktop/gnome, gcc-12, glibc-2.36-r5, 6.1.1-gentoo-classic x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-6.1.1-gentoo-classic-x86_64-Intel-R-_Core-TM-_i3-6100_CPU_@_3.70GHz-with-glibc2.36
KiB Mem:     3935608 total,    552684 free
KiB Swap:   65535996 total,  65526464 free

sh bash 5.0_p18
ld GNU ld (Gentoo 2.38 p4) 2.38
distcc 3.4 x86_64-pc-linux-gnu [disabled]
app-misc/pax-utils:        1.3.5::gentoo
app-shells/bash:           5.0_p18::gentoo
dev-java/java-config:      2.3.1::gentoo
dev-lang/perl:             5.36.0-r1::gentoo
dev-lang/python:           2.7.18_p16::gentoo, 3.9.16::gentoo, 3.10.9::gentoo, 3.11.1::gentoo
dev-lang/rust:             1.66.0::gentoo
dev-util/cmake:            3.24.3::gentoo
dev-util/meson:            0.63.3::gentoo
sys-apps/baselayout:       2.9::gentoo
sys-apps/openrc:           0.45.2-r2::gentoo
sys-apps/sandbox:          2.29::gentoo
sys-devel/autoconf:        2.13-r7::gentoo, 2.71-r5::gentoo
sys-devel/automake:        1.16.5::gentoo
sys-devel/binutils:        2.38-r2::gentoo
sys-devel/binutils-config: 5.4.1::gentoo
sys-devel/clang:           14.0.6-r1::gentoo, 15.0.6::gentoo
sys-devel/gcc:             10.4.0::gentoo, 11.3.0::gentoo, 12.2.1_p20221210::gentoo
sys-devel/gcc-config:      2.8::gentoo
sys-devel/libtool:         2.4.7::gentoo
sys-devel/lld:             14.0.6-r1::gentoo
sys-devel/llvm:            14.0.6-r2::gentoo, 15.0.6::gentoo
sys-devel/make:            4.3::gentoo
sys-kernel/linux-headers:  6.0::gentoo (virtual/os-headers)
sys-libs/glibc:            2.36-r5::gentoo
Repositories:

gentoo
    location: /var/db/repos/gentoo
    sync-type: rsync
    sync-uri: rsync://rsync.europe.gentoo.org/gentoo-portage
    priority: -1000
    sync-rsync-verify-jobs: 1
    sync-rsync-extra-opts: 
    sync-rsync-verify-metamanifest: no
    sync-rsync-verify-max-age: 24

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
AR="gcc-ar"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe -Wa,-mbranches-within-32B-boundaries "
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/maven-bin-3.8/conf"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php8.1/ext-active/ /etc/php/cgi-php8.1/ext-active/ /etc/php/cli-php8.1/ext-active/ /etc/php/fpm-php8.1/ext-active/ /etc/php/phpdbg-php8.1/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=native -O2 -pipe -Wa,-mbranches-within-32B-boundaries "
DISTDIR="/var/cache/distfiles"
EMERGE_DEFAULT_OPTS="--alert y 			--alphabetical 			--ask-enter-invalid 			--autounmask y  			--autounmask-only n  			--autounmask-unrestricted-atoms y  	--autounmask-write y 			--misspell-suggestions n 		--noconfmem 			--nospinner  			--tree 		--with-bdeps y"
ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN GOPATH PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR XDG_STATE_HOME"
FCFLAGS="-march=native -O2 -pipe -Wa,-mbranches-within-32B-boundaries "
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs buildpkg-live compress-build-logs config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms split-elog strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync"
FFLAGS="-march=native -O2 -pipe -Wa,-mbranches-within-32B-boundaries "
GENTOO_MIRRORS="http://ftp.halifax.rwth-aachen.de/gentoo/ http://gentoo.mirrors.ovh.net/gentoo-distfiles/ http://ftp.leg.uct.ac.za/pub/linux/gentoo/ http://ftp.free.fr/mirrors/ftp.gentoo.org/ http://mirrors.soeasyto.com/distfiles.gentoo.org/ http://mirror.eu.oneandone.net/linux/distributions/gentoo/gentoo/ http://ftp.fau.de/gentoo http://ftp.gwdg.de/pub/linux/gentoo/ http://ftp.belnet.be/pub/rsync.gentoo.org/gentoo/"
LANG="fr_FR.utf8"
LDFLAGS="-Wl,-O1 -Wl,-fuse-ld=bfd "
LINGUAS="fr"
MAKEOPTS="-j1 -l1"
NM="gcc-nm"
PKGDIR="/var/cache/binpkgs"
PORTAGE_COMPRESS="lzma"
PORTAGE_COMPRESS_FLAGS="-9"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
RANLIB="gcc-ranlib"
SHELL="/bin/bash"
USE="amd64 asm custom-cflags emacs fortran gentoo-vm gtk-doc libglvnd minimal split-usr test-rust verify-sig" ABI_X86="64" ALSA_CARDS="hda-intel" CPU_FLAGS_X86="aes avx avx2 f16c fma3 mmx mmxext pclmul popcnt rdrand sse sse2 sse3 sse4_1 sse4_2 ssse3" ELIBC="glibc" GRUB_PLATFORMS="efi-64" INPUT_DEVICES="libinput" KERNEL="linux" L10N="fr" LUA_SINGLE_TARGET="lua5-4" LUA_TARGETS="lua5-4" PHP_TARGETS="php8-1" QEMU_USER_TARGETS="aarch64" RUBY_TARGETS="ruby27" USERLAND="GNU" VIDEO_CARDS="intel"
Unset:  ADDR2LINE, ARFLAGS, AS, ASFLAGS, CC, CCLD, CONFIG_SHELL, CPP, CPPFLAGS, CTARGET, CXX, CXXFILT, ELFEDIT, EXTRA_ECONF, F77FLAGS, FC, GCOV, GPROF, INSTALL_MASK, LC_ALL, LD, LEX, LFLAGS, LIBTOOL, MAKE, MAKEFLAGS, OBJCOPY, OBJDUMP, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_RSYNC_EXTRA_OPTS, READELF, RUSTFLAGS, SIZE, STRINGS, STRIP, YACC, YFLAGS

=================================================================
                        Package Settings
=================================================================

sys-boot/syslinux-6.04_pre1-r4::gentoo was built with the following:
USE="custom-cflags" ABI_X86="(64)"
LDFLAGS=""
Comment 1 CaptainBlood 2022-12-25 22:31:00 UTC
Created attachment 844903 [details]
sys-boot/syslinux-6.04_pre1-r5[uefi]
Comment 2 CaptainBlood 2022-12-25 22:32:06 UTC
Created attachment 844904 [details]
sys-boot/syslinux-6.04_pre1-r5[bios]
Comment 3 Mike Gilbert gentoo-dev 2022-12-25 23:33:40 UTC
> x86_64-pc-linux-gnu-objcopy -O binary mbr_c.elf mbr_c.bin
> perl /var/tmp/portage/sys-boot/syslinux-6.04_pre1-r5/work/syslinux-6.04-pre1/mbr/checksize.pl mbr_c.bin
> mbr_c.bin: too big (444 > 440)
Comment 4 Mike Gilbert gentoo-dev 2022-12-25 23:43:09 UTC
Please remove "-Wa,-mbranches-within-32B-boundaries" from your CFLAGS.
Comment 5 Larry the Git Cow gentoo-dev 2022-12-25 23:54:27 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6abf07eaaf5a78c29fb065ba3ba3bfbe3a0f8a7b

commit 6abf07eaaf5a78c29fb065ba3ba3bfbe3a0f8a7b
Author:     Mike Gilbert <floppym@gentoo.org>
AuthorDate: 2022-12-25 23:50:20 +0000
Commit:     Mike Gilbert <floppym@gentoo.org>
CommitDate: 2022-12-25 23:50:49 +0000

    sys-boot/syslinux: unset CFLAGS
    
    Closes: https://bugs.gentoo.org/888466
    Signed-off-by: Mike Gilbert <floppym@gentoo.org>

 sys-boot/syslinux/syslinux-6.04_pre1-r5.ebuild | 2 +-
 sys-boot/syslinux/syslinux-6.04_pre3-r1.ebuild | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
Comment 6 CaptainBlood 2022-12-27 12:05:05 UTC
(In reply to Mike Gilbert from comment #4)
> Please remove "-Wa,-mbranches-within-32B-boundaries" from your CFLAGS.

Post rsync build issue remains.

Cf build log.
Comment 7 CaptainBlood 2022-12-27 12:05:35 UTC
Created attachment 845211 [details]
build log
Comment 8 Larry the Git Cow gentoo-dev 2022-12-27 16:52:04 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9acd8ef9867c41398a6457a56e3aa7b6f6ac2c5d

commit 9acd8ef9867c41398a6457a56e3aa7b6f6ac2c5d
Author:     Mike Gilbert <floppym@gentoo.org>
AuthorDate: 2022-12-27 16:47:43 +0000
Commit:     Mike Gilbert <floppym@gentoo.org>
CommitDate: 2022-12-27 16:48:32 +0000

    sys-boot/syslinux: fix install with bios disabled
    
    Closes: https://bugs.gentoo.org/888466
    Signed-off-by: Mike Gilbert <floppym@gentoo.org>

 sys-boot/syslinux/syslinux-6.04_pre1-r5.ebuild | 4 +++-
 sys-boot/syslinux/syslinux-6.04_pre3-r1.ebuild | 4 +++-
 2 files changed, 6 insertions(+), 2 deletions(-)