Opened 16 years ago

Closed 16 years ago

#207 closed defect (worksforme)

xz-4.999.8beta 64bit build fails (common.h line 101)

Reported by: woodyofid Owned by: clfs-commits@…
Priority: blocker Milestone: CLFS Standard 1.2.0
Component: BOOK Version: CLFS Standard GIT
Keywords: xz C99 Cc:

Description

The configure/Makefile for xz seems to not correctly detect when being configured for 64bit to use the -std=gnu99 argument for the compile (xz uses C99 specific syntax). It does correctly detect and use the -std=gnu99 argument in 32bit mode.

For guide purposes, the make line for 64bit should be amended like so:

make CC="gcc ${BUILD64} -std=gnu99" CXX="g++ ${BUILD64}"

This fixes the build by compensating for xz's (incomplete?) configure.

Change History (3)

comment:1 by Joe Ciccone, 16 years ago

Which architecture does this happen on? 64bit is only half the answer.

comment:2 by Jim Gifford, 16 years ago

I will validate, in a middle of new build on x86_64.

comment:3 by Jim Gifford, 16 years ago

Resolution: worksforme
Status: newclosed

Closing as worksforme. I just did a complete build with no issues at all.

Note: See TracTickets for help on using tickets.