[PATCH] libtests/dl06: Add -lm

Sebastian Huber sebastian.huber at embedded-brains.de
Wed Nov 11 07:36:04 UTC 2020


On 10/11/2020 08:32, Sebastian Huber wrote:

>> Would adding a pragma for this option to dl06-o1.c and dl06-o2.c be 
>> acceptable
>> as a solution?
> I am not sure if a pragma works for these options. We can add 
> -fno-builtin=tan -fno-builtin=atan2. We can use also some global 
> volatile variables which seems to work for the math tests. 
I had a look at the test. We only need the -fno-builtin if we enable 
link time optimization.

-- 
embedded brains GmbH
Sebastian HUBER
Dornierstr. 4
82178 Puchheim
Germany
email: sebastian.huber at embedded-brains.de
Phone: +49-89-18 94 741 - 16
Fax:   +49-89-18 94 741 - 08
PGP: Public key available on request.

embedded brains GmbH
Registergericht: Amtsgericht München
Registernummer: HRB 157899
Vertretungsberechtigte Geschäftsführer: Peter Rasmussen, Thomas Dörfler
Unsere Datenschutzerklärung finden Sie hier: https://embedded-brains.de/datenschutzerklaerung/



More information about the devel mailing list