Re: [PATCH] honor CFLAGS & friends from environment

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




On 15/02/2019 08:34, Uwe Kleine-König wrote:
[snip]
> I use CC = gcc-8 for the debian package because other it can happen (and
> it actually did) that /usr/bin/gcc was updated from gcc-X to gcc-(X+1)
> and then sparse started to fail because it still used
> /usr/lib/gcc/x86_64-linux-gnu/X/ (i.e. the output of
> 
> 	gcc --print-file-name=
> 
> ) which disappeard as it changes on major version bumps.
> 
> So sparse depends explicitly on the current gcc version and uses this.

Hmm, yes, sparse may well depend a little too much on gcc. ;-)

Having said that, these values built-in to sparse are just
default values that can be set from the command-line of
sparse (see -gcc-base-dir and -multiarch-dir). Indeed they
_are_ set by cgcc by running the 'specified c compiler' at
each invocation, if not _also_ specified on the cgcc command
line.

Hmm, do you remember how/what failed? (I suppose this was not
a kernel usage).

ATB,
Ramsay Jones




[Index of Archives]     [Newbies FAQ]     [LKML]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Trinity Fuzzer Tool]

  Powered by Linux