Re: Building packages with clang?

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

 



Am 28.02.2016 um 22:56 schrieb Tom Hughes:
On 28/02/16 21:44, Kevin Fenzi wrote:
On Sun, 28 Feb 2016 21:41:26 +0000
Tom Hughes <tom@xxxxxxxxxx> wrote:

...snip...

Is building packages with clang actually allowed and/or expected to
work? The C/C++ guidelines seem to suggest it is given that they say
you should require either gc or clang.

https://fedoraproject.org/wiki/Packaging:Guidelines#Compiler

So, if upstream supports gcc/g++ you need to use that.

Thanks.

Now we just need to define "supports" ;-)

 From past experience I know that they haven't shown a huge amount of
interest in failures that are specific to 32 bit platforms though in
this case they do have somebody that has been trying to tame some of the
wilder excesses of memory usage in the compilations.

I have a ticket open to see what can be done anyway:

https://github.com/mapnik/mapnik/issues/3327

Tom


Maybe disabling pipes between preprocessor - compiler - assembler may help you on Koji…

# Compiling needs too much memory to build the the linker-objects in
# virtual memory for piping through different gcc instances, thus we
# use temporary files instead of pipes to pass the results.
%global optflags \
  %(echo '%{optflags}' | %{__sed} -e 's![ \t]*-pipe[ \t]*! !g')
--
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxxx
http://lists.fedoraproject.org/admin/lists/devel@xxxxxxxxxxxxxxxxxxxxxxx




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux