Debian Bug report logs - #404715
make: add an option to allow system wide gcc options

Package: general; Maintainer for general is debian-devel@lists.debian.org;

Reported by: rrs@researchut.com

Date: Wed, 27 Dec 2006 20:03:07 UTC

Severity: wishlist

Done: Holger Levsen <holger@layer-acht.org>

Bug is archived. No further changes may be made.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, rrs@researchut.com, Manoj Srivastava <srivasta@debian.org>:
Bug#404715; Package make. Full text and rfc822 format available.

Acknowledgement sent to rrs@researchut.com:
New Bug report received and forwarded. Copy sent to rrs@researchut.com, Manoj Srivastava <srivasta@debian.org>. Full text and rfc822 format available.

Message #5 received at submit@bugs.debian.org (full text, mbox):

From: Ritesh Raj Sarraf <rrs@researchut.com>
To: submit@bugs.debian.org
Subject: make: add an option to allow system wide gcc options
Date: Thu, 28 Dec 2006 01:05:21 +0530
X-Debbugs-Cc: rrs@researchut.com
Package: make
Version: 3.81-2
Severity: wishlist

Currently, if I have a machine (like Centrino), there's no clean way of
saying the OS to do all compilations/re-compilations optimized for my
hardware.

MAKEFLAGS="mtune=pentium-m" is one way, but I'm not aware if most
applications in Debian respect it:
a) module-assistant
b) apt
c) name any I might have missed.

I've read that Gentoo has something like /etc/make.conf from which its
package management utility reads those values.

It would be great if we could have something similar.

I'm filing it for the make package and not the other packages mentioned
above, because if this gets implemented in make, everyone benefits.

Ritesh

-- System Information:
Debian Release: 4.0
  APT prefers testing
  APT policy: (990, 'testing'), (550, 'unstable'), (500, 'stable'), 
(350, 'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.19-xps
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)

Versions of packages make depends on:
ii  libc6                        2.3.6.ds1-8 GNU C Library: Shared libraries

make recommends no packages.

-- no debconf information

-- 
Ritesh Raj Sarraf
RESEARCHUT - http://www.researchut.com
"Necessity is the mother of invention."
"Stealing logic from one person is plagiarism, stealing from many is 
research."
"The great are those who achieve the impossible, the petty are those who 
cannot - rrs"



Information forwarded to debian-bugs-dist@lists.debian.org, Manoj Srivastava <srivasta@debian.org>:
Bug#404715; Package make. Full text and rfc822 format available.

Acknowledgement sent to Josselin Mouette <joss@debian.org>:
Extra info received and forwarded to list. Copy sent to Manoj Srivastava <srivasta@debian.org>. Full text and rfc822 format available.

Message #10 received at 404715@bugs.debian.org (full text, mbox):

From: Josselin Mouette <joss@debian.org>
To: debian-devel@lists.debian.org
Cc: 404715@bugs.debian.org
Subject: Re: This is not a proposal that can be implemented in make
Date: Sat, 06 Jan 2007 20:59:47 +0100
[Message part 1 (text/plain, inline)]
Le samedi 06 janvier 2007 à 13:32 -0600, Manoj Srivastava a écrit :
>         Something like this needs to be designed from a system
>  perspective, and needs, probably, to cooperation the package build
>  system.
> 
>         Since this is something that cant be done by a single pacage,
>  I am reassigning this bug. (For example, my employer would be annoyed
>  if all out product builds fail since make suddenly injects random
>  flags for which our software is unprepared for).

Isn't that what pentium-builder does?

-- 
 .''`.
: :' :      We are debian.org. Lower your prices, surrender your code.
`. `'       We will add your hardware and software distinctiveness to
  `-        our own. Resistance is futile.
[signature.asc (application/pgp-signature, inline)]

Information forwarded to debian-bugs-dist@lists.debian.org, Manoj Srivastava <srivasta@debian.org>:
Bug#404715; Package make. Full text and rfc822 format available.

Acknowledgement sent to "Roberto C. Sanchez" <roberto@connexer.com>:
Extra info received and forwarded to list. Copy sent to Manoj Srivastava <srivasta@debian.org>. Full text and rfc822 format available.

Message #15 received at 404715@bugs.debian.org (full text, mbox):

From: "Roberto C. Sanchez" <roberto@connexer.com>
To: debian-devel@lists.debian.org, 404715@bugs.debian.org
Subject: Re: This is not a proposal that can be implemented in make
Date: Sat, 6 Jan 2007 15:11:42 -0500
[Message part 1 (text/plain, inline)]
On Sat, Jan 06, 2007 at 08:59:47PM +0100, Josselin Mouette wrote:
> Le samedi 06 janvier 2007 à 13:32 -0600, Manoj Srivastava a écrit :
> >         Something like this needs to be designed from a system
> >  perspective, and needs, probably, to cooperation the package build
> >  system.
> > 
> >         Since this is something that cant be done by a single pacage,
> >  I am reassigning this bug. (For example, my employer would be annoyed
> >  if all out product builds fail since make suddenly injects random
> >  flags for which our software is unprepared for).
> 
> Isn't that what pentium-builder does?
> 
If you are talking about the injection of random flags, then does it
matter?  Using pentium-builder is optional for building software.  Using
make generally is not.  A misbehaved wrapper is easy to work around
(don't use it).  A misbehaved hard dependency is a bit tougher.

Regards,

-Roberto

-- 
Roberto C. Sanchez
http://people.connexer.com/~roberto
http://www.connexer.com
[signature.asc (application/pgp-signature, inline)]

Bug reassigned from package `make' to `general'. Request was from Manoj Srivastava <srivasta@golden-gryphon.com> to control@bugs.debian.org. Full text and rfc822 format available.

Information forwarded to debian-bugs-dist@lists.debian.org, <debian-devel@lists.debian.org>:
Bug#404715; Package general. Full text and rfc822 format available.

Acknowledgement sent to Goswin von Brederlow <brederlo@informatik.uni-tuebingen.de>:
Extra info received and forwarded to list. Copy sent to <debian-devel@lists.debian.org>. Full text and rfc822 format available.

Message #22 received at 404715@bugs.debian.org (full text, mbox):

From: Goswin von Brederlow <brederlo@informatik.uni-tuebingen.de>
To: "Roberto C. Sanchez" <roberto@connexer.com>
Cc: debian-devel@lists.debian.org, 404715@bugs.debian.org
Subject: Re: This is not a proposal that can be implemented in make
Date: Tue, 09 Jan 2007 21:17:40 +0100
"Roberto C. Sanchez" <roberto@connexer.com> writes:

> On Sat, Jan 06, 2007 at 08:59:47PM +0100, Josselin Mouette wrote:
>> Le samedi 06 janvier 2007 à 13:32 -0600, Manoj Srivastava a écrit :
>> >         Something like this needs to be designed from a system
>> >  perspective, and needs, probably, to cooperation the package build
>> >  system.
>> > 
>> >         Since this is something that cant be done by a single pacage,
>> >  I am reassigning this bug. (For example, my employer would be annoyed
>> >  if all out product builds fail since make suddenly injects random
>> >  flags for which our software is unprepared for).
>> 
>> Isn't that what pentium-builder does?
>> 
> If you are talking about the injection of random flags, then does it
> matter?  Using pentium-builder is optional for building software.  Using
> make generally is not.  A misbehaved wrapper is easy to work around
> (don't use it).  A misbehaved hard dependency is a bit tougher.
>
> Regards,
>
> -Roberto

And why should make do that?

Gcc already provides this feature. You have to setup a specs file and
include the options you want there. This is also so flexible that you
can omit options if conflicting options are given already. E.g. add
-m64 only if no -m32 is given.

MfG
        Goswin



Reply sent to Holger Levsen <holger@layer-acht.org>:
You have taken responsibility. Full text and rfc822 format available.

Notification sent to rrs@researchut.com:
Bug acknowledged by developer. Full text and rfc822 format available.

Message #27 received at 404715-done@bugs.debian.org (full text, mbox):

From: Holger Levsen <holger@layer-acht.org>
To: 404715-done@bugs.debian.org
Subject: gcc already provides this
Date: Mon, 8 Sep 2008 17:39:19 +0200
[Message part 1 (text/plain, inline)]
Hi,

as explained in http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=404715#22 gcc 
already provides this feature, thus closing this bugreport.


regards,
	Holger
[Message part 2 (application/pgp-signature, inline)]

Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Tue, 07 Oct 2008 07:27:36 GMT) Full text and rfc822 format available.

Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Wed Apr 23 08:25:55 2014; Machine Name: buxtehude.debian.org

Debian Bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.