Ticket #207 (closed defect: worksforme)

Opened 5 years ago

Last modified 5 years ago

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

comment:1 Changed 5 years ago by jciccone

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

comment:2 Changed 5 years ago by jim

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

comment:3 Changed 5 years ago by jim

  • Status changed from new to closed
  • Resolution set to worksforme

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

Note: See TracTickets for help on using tickets.