Bug 1243117

Summary: Extlinux / Syslinux is broken
Product: [Fedora] Fedora Reporter: poma <pomidorabelisima>
Component: syslinuxAssignee: Peter Jones <pjones>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: unspecified    
Version: rawhideCC: mattdm, pjones
Target Milestone: ---Keywords: Reopened
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: syslinux-6.03-6.fc23 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-10-19 21:08:24 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
Extlinux / Syslinux - Rendez vous avec une SeaBIOS none

Description poma 2015-07-14 19:49:56 UTC
Description of problem:
Extlinux / Syslinux is broken.

Version-Release number of selected component (if applicable):
syslinux-extlinux-6.03-5.fc23.x86_64.rpm

How reproducible:
Infinite

Steps to Reproduce:
1. Download e.g. Fedora-Live-Xfce-x86_64-rawhide-20150714.iso
2. Install to Hard Drive via "liveinst --extlinux"
3. Re/boot from Hard disk

Actual results:
Failed

Expected results:
Succeed

Additional info:
You are welcome to join the discussion @syslinux, together with someone who is well acquainted with the GCC internals.

Comment 1 poma 2015-07-14 19:52:54 UTC
Created attachment 1052007 [details]
Extlinux / Syslinux - Rendez vous avec une SeaBIOS

Comment 2 Jan Kurik 2015-07-15 13:16:18 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 23 development cycle.
Changing version to '23'.

(As we did not run this process for some time, it could affect also pre-Fedora 23 development
cycle bugs. We are very sorry. It will help us with cleanup during Fedora 23 End Of Life. Thank you.)

More information and reason for this action is here:
https://fedoraproject.org/wiki/BugZappers/HouseKeeping/Fedora23

Comment 3 poma 2015-07-26 08:31:40 UTC
Current solution is: build it with the GCC 4.x.x.

Comment 4 poma 2015-10-16 14:47:10 UTC

https://github.com/Celelibi/syslinux/tree/fix/bios/gcc5

- bios: Fix alignment change with gcc 5
  0001-bios-Fix-alignment-change-with-gcc-5.patch
  https://github.com/Celelibi/syslinux/commit/2686a69.patch

- bios: Don't try to guess the sections alignment
  0002-bios-Don-t-try-to-guess-the-sections-alignment.patch
  https://github.com/Celelibi/syslinux/commit/ab01326.patch

- ldlinux: Fix return pointer to local data
  0003-ldlinux-Fix-return-pointer-to-local-data.patch
  https://github.com/Celelibi/syslinux/commit/9b9d9db.patch

Patched on top of
http://repo.or.cz/syslinux.git - 9e0926b

Built with gcc (GCC) 5.2.1 20150902 (Red Hat 5.2.1-2)

ISOLINUX & EXTLINUX tested on baremetal & QEMU/SeaBIOS - both PASSED/BOOTABLE

Packages:
syslinux-6.04-4.gcc5.2.1.git20151016.fc24.x86_64.rpm
syslinux-extlinux-6.04-4.gcc5.2.1.git20151016.fc24.x86_64.rpm
syslinux-extlinux-nonlinux-6.04-4.gcc5.2.1.git20151016.fc24.noarch.rpm
syslinux-nonlinux-6.04-4.gcc5.2.1.git20151016.fc24.noarch.rpm

Comment 5 Fedora Update System 2015-10-16 20:25:37 UTC
syslinux-6.03-6.fc23 has been submitted as an update to Fedora 23. https://bodhi.fedoraproject.org/updates/FEDORA-2015-90d432401e

Comment 6 Fedora Update System 2015-10-17 18:21:35 UTC
syslinux-6.03-6.fc23 has been pushed to the Fedora 23 testing repository. If problems still persist, please make note of it in this bug report.
If you want to test the update, you can install it with
$ su -c 'dnf --enablerepo=updates-testing update syslinux'
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2015-90d432401e

Comment 7 Fedora Update System 2015-10-19 21:08:11 UTC
syslinux-6.03-6.fc23 has been pushed to the Fedora 23 stable repository. If problems still persist, please make note of it in this bug report.