On Sat, 2021-03-06 at 08:19 +0100, Martin wrote:
>
> it's more or less mainstream but in my reach right now, therefore
> tested it on armv7l (device with a RasPi Zero 3B core and lots of
> other stuff arround it), System for this test is raspbian stretch.

It's a different architecture than x86_64, which is valuable to
have covered. Thank you for checking.

> [08:07:42] RevPi2248:~/src/autotool-experiments/build$ env
> CFLAGS=-flto LDFLAGS=-flto ../configure
>
> ...
>
> Enabled drivers:
> - driver 1 ..... yes
> - driver 2 ..... yes
> - driver 3 ..... yes
> - driver 4 ..... yes
> - driver 5 ..... yes
>
> ...
>
> [08:08:46] RevPi2248:~/src/autotool-experiments/build$ make &&
> ./app_combo
>
> ...
>
> items:
>  0x76f7aef4 1 driver1 0x76f6a7e8
>  0x76f7af00 2 driver2 0x76f6a7f8
>  0x76f7af0c 3 driver3 0x76f6a838
> list end
> driver1, do something
> driver2, do something
> driver3, do something

That's a mistake that I made after sending the call for testers.
Though up to five driver sources existed (added two more after
the email) and could be configured, they would not take effect
during compilation. Have fixed this in 587bfbf2d620. Sorry for
the inconvenience.

> [08:08:49] RevPi2248:~/src/autotool-experiments/build$ ../configure
> --disable-driver2
>
> ...
> Enabled drivers:
> - driver 1 ..... yes
> - driver 2 ..... no
> - driver 3 ..... yes
> - driver 4 ..... yes
> - driver 5 ..... yes
> ...
>
> [08:10:28] RevPi2248:~/src/autotool-experiments/build$ make &&
> ./app_combo
>
> items:
>  0x76eb6ef4 1 driver1 0x76ea67e8
>  0x76eb6f00 2 driver2 0x76ea67f8
>  0x76eb6f0c 3 driver3 0x76ea6838
> list end
> driver1, do something
> driver2, do something
> driver3, do something

Drivers 4 and 5 don't show up because of my mistake mentioned
above.

But when driver 2 is disabled, it should not be part of the build
and thus should not be part of the drivers list. This looks
suspicious.


virtually yours
Gerhard Sittig
--
     If you don't understand or are scared by any of the above
             ask your parents or an adult to help you.


_______________________________________________
sigrok-devel mailing list
sigrok-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sigrok-devel

Reply via email to