[Pkg-scicomp-devel] Bug#519126: qrupdate fails to build in Debian on some architectures

Jaroslav Hajek highegg at gmail.com
Wed Mar 11 08:46:14 UTC 2009


On Wed, Mar 11, 2009 at 12:21 AM, peter green <plugwash at p10link.net> wrote:
>> The bug is about an optimisation flag that we shouldn't just get rid
>> of. At some point soon, I'll read the gcc manpage and figure out what
>> a proper flag for other architectures should be.
>
> http://gcc.gnu.org/onlinedocs/gcc-4.3.3/gcc/i386-and-x86_002d64-Options.html#i386-and-x86_002d64-Options
> has the following to say about -march=native
>
>
> /native/
>   This selects the CPU to tune for at compilation time by determining
>   the processor type of the compiling machine. Using -mtune=native
>   will produce code optimized for the local machine under the
>   constraints of the selected instruction set. Using -march=native
>   will enable all instruction subsets supported by the local machine
>   (hence the result might not run on different machines).
>
> In other words this flag is totally inappropriate for a binary distribution
> like debian.
>

I removed the march=native flag from Makeconf. I have also uploaded an
updated source tarball containing this fix and all the fixes to
makefiles & configuration files contributed by Jordi (no actual source
code changed).

cheers


-- 
RNDr. Jaroslav Hajek
computing expert & GNU Octave developer
Aeronautical Research and Test Institute (VZLU)
Prague, Czech Republic
url: www.highegg.matfyz.cz





More information about the Pkg-scicomp-devel mailing list