Bug 1292236 - Syslinux/Extlinux command line interface broken
Summary: Syslinux/Extlinux command line interface broken
Keywords:
Status: CLOSED DUPLICATE of bug 1308298
Alias: None
Product: Fedora
Classification: Fedora
Component: syslinux
Version: rawhide
Hardware: All
OS: Linux
unspecified
unspecified
Target Milestone: ---
Assignee: Peter Jones
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-12-16 19:38 UTC by poma
Modified: 2016-02-16 15:29 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2016-02-16 15:29:32 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 1243117 0 unspecified CLOSED Extlinux / Syslinux is broken 2021-02-22 00:41:40 UTC
Red Hat Bugzilla 1263988 0 unspecified CLOSED livecd-iso-to-disk and liveusb-creator (copy mode) images not bootable (due to syslinux / GCC 5 issue) 2021-02-22 00:41:40 UTC
Red Hat Bugzilla 1308298 0 high CLOSED CLI - EFI64 - the GNU linker 2023-09-14 03:17:46 UTC

Internal Links: 1243117 1308298

Description poma 2015-12-16 19:38:02 UTC
Description of problem:
Syslinux/Extlinux command line interface broken

Version-Release number of selected component (if applicable):
syslinux-6.03-6.fc2[34]

How reproducible:
101%

Steps to Reproduce:
1. Interrupt boot in progress - [Esc]
2. Run cmd at boot prompt, e.g.   
   boot: reboot + [Enter]

Actual results:
"Skip" to the menu

Expected results:
Reboot

Additional info:
CLI works with:
syslinux-extlinux-nonlinux-6.04-11.git20151210.fc24.noarch
the last built, tested and operational.

Comment 1 poma 2015-12-19 10:03:46 UTC
Also tested with:
syslinux-extlinux-nonlinux-6.04-0.12.20151210git721a0af.fc24.noarch
syslinux-efi64-6.04-0.12.20151210git721a0af.fc24.x86_64

Comment 2 poma 2016-02-15 23:50:22 UTC
ldlinux: Fix return pointer to local data
http://git.zytor.com/syslinux/syslinux.git/commit/?id=8dc6d75

The command-line parsing used to return a pointer to a local array. The
code used to work by chance, but now, gcc 5 is able to detect it and
return a NULL pointer instead.

The buffer is now marked static. This shouldn't be a problem as only one
command line can be read at a time.
...

it also makes complete GCC 5 related patches:
- bios: Fix alignment change with gcc 5
  http://git.zytor.com/syslinux/syslinux.git/commit/?id=e5f2b57
- bios: Don't try to guess the sections alignment
  http://git.zytor.com/syslinux/syslinux.git/commit/?id=0cc9a99

Comment 3 poma 2016-02-16 15:29:32 UTC
So they are no longer two, but one in #1308298.

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


Note You need to log in before you can comment on or make changes to this bug.