Opened 14 years ago

Closed 14 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:


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 Changed 14 years ago by Joe Ciccone

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

comment:2 Changed 14 years ago by Jim Gifford

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

comment:3 Changed 14 years ago by Jim Gifford

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.