Opened 22 years ago

Closed 22 years ago

Last modified 22 years ago

#242 closed defect (fixed)

patch 2.5.4 needs -D_GNU_SOURCE on PPC

Reported by: markh@… Owned by: gerard@…
Priority: highest Milestone:
Component: Book Version: CVS
Severity: normal Keywords:
Cc:

Description

On Sat, 22, Dec, 2001 at 03:18:26PM +0100, Jean Charles Andlauer spoke thus..

Hello again,

As the original poster, I confirm that:

  1. patch-2.5.4 does not work correctly under PPC if it was made with the

default CFLAGS,

  1. Patch-2.5.4 works correctly under PPC if it was made with

CFLAGS=-D_GNU_SOURCE,

  1. That most patch RPMs I have found make patch with CFLAGS=-D_GNU_SOURCE.

Somebody else commented that this was discussed a few months back: See also the thread: http://archive.linuxfromscratch.org/mail-archives/lfs-dev/2001/09/0736.html

We need to check it doesn't bugger up compilation on x86 platforms. If it doesn't I suggest just adding it to the book with a comment as to why it's there.

Change History (10)

comment:1 by gimli@…, 22 years ago

It's also needed on m68k

comment:2 by gerard@…, 22 years ago

Priority: highhighest

comment:3 by markh@…, 22 years ago

Owner: changed from lfs-book@… to markh@…
Status: newassigned

comment:4 by markh@…, 22 years ago

Resolution: fixed
Status: assignedclosed

added to book in ch5 and 6 along with explanation

comment:5 by gerard@…, 22 years ago

Resolution: fixed
Status: closedreopened

comment:6 by gerard@…, 22 years ago

instructions should be in the same format as done in chapter5/sed

comment:7 by gerard@…, 22 years ago

Owner: changed from markh@… to gerard@…
Status: reopenedassigned

comment:8 by gerard@…, 22 years ago

Resolution: fixed
Status: assignedclosed

comment:9 by markh@…, 22 years ago

Keywords: VERIFIED added

confirmed that instructions have been added and don't seem to break anything on x86. from reports on lfs-dev, it works for PPC so verifying it.

comment:10 by gerard@…, 22 years ago

Keywords: VERIFIED removed

you probably wanted to close it too, so am closing now.

Note: See TracTickets for help on using tickets.