Ticket #1766 (closed defect: fixed)

Opened 1 year ago

Last modified 11 months ago

pkg-config 0.21 is not 64-bit clean

Reported by: alexander@linuxfromscratch.org Assigned to: livecd@linuxfromscratch.org
Priority: highest Milestone: x86_64 LiveCD
Component: CD Version: x86_64-6.3
Keywords: Cc:

Description

The debian build log filter, http://people.debian.org/~dannf/check-implicit-pointer-functions, reported this for pkg-config-0.21 build log:

Function `strsignal' implicitly converted to pointer at gstrfuncs.c:674

This is important, as this causes pointer truncation on 64-bit architectures and thus segfaults.

The file in question is a part of the embedded glib-1.2.8 copy. The fix is to #include a header that declares the strsignal() function, i.e.:

#define _GNU_SOURCE
#include <string.h>

Change History

12/16/07 09:42:38 changed by alexander@linuxfromscratch.org

This is fixed upstream in pkg-config-0.22.

12/31/07 01:29:02 changed by alexander@linuxfromscratch.org

  • status changed from new to closed.
  • resolution set to fixed.