[syslinux] [PATCH] remove _BSD_SOURCE definition

Ady ady-sf at hotmail.com
Wed Sep 24 21:36:56 PDT 2014


> On Thu, Sep 18, 2014 at 12:34 AM, Chanho Park <chanho61.park at samsung.com> wrote:
> > The _BSD_SOURCE was deprecated since glibc-2.20. _DEFAULT_SOURCE can be
> > used instead of _BSD_SOURCE. However, there is no need to include
> > _BSD_SOURCE because the sources only have inline functions and calls
> > memcmp/cpy functions.
> 
> Testing this myself on my build boxes, I see no issue.  The biggest
> thought I'd have is would there be a possibility of a platform that
> can still suitably build Sylinux (presume only bios architecture for
> now) but break with this patch?
> 
> -- 
> -Gene
 
Potential concerns:
_ Syslinux's ports (e.g. to *BSD)?
_ Other tools / bootloaders that are somehow related or based on 
Syslinux (e.g. U-boot)?
_ Any of the above, BIOS/UEFI on non-x86 (e.g. *arm*)?

Since I am not a developer, I wouldn't know if it matters or not.

In any case, if this is not a critical bug (I have no idea), and 
considering that several popular Linux distros are close to release 
and/or freeze, perhaps this one should be left for after-6.03 
(somewhat similar to the gPXE deletion from the distribution 
archives)?

Regards,
Ady.


More information about the Syslinux mailing list