duma: not available on non-MMU platforms
PATCH 1/1 duma: not available on non-MMU platforms
By design, building duma on Blackfin and other non-MMU platforms is quite useless: it uses page mappings to detect buffer overrun and use-after-free programming errors. Therefore, this commit simply marks duma as not available on non-MMU platforms.
Fixes:
http://autobuild.buildroot.org/results/951/9519d7abb45c6a789874ec6bb84418c31a98916b/
--- package/duma/Config.in | 5 +++++ 1 file changed, 5 insertions(+)
package/duma/Config.in +5 -0
@@ -2,6 +2,10 @@ config BR2_PACKAGE_DUMA bool "duma" depends on BR2_INSTALL_LIBSTDCPP depends on BR2_TOOLCHAIN_HAS_THREADS + # By design, duma uses page mapping to isolate + # allocations. Non-MMU platforms cannot perform such + # things. + depends on BR2_USE_MMU help D.U.M.A. - Detect Unintended Memory Access. A fork of the Electric Fence library. Detects buffer overflow and
@@ -17,4 +21,5 @@ config BR2_PACKAGE_DUMA_NO_LEAKDETECTION endif # BR2_PACKAGE_DUMA comment "duma needs a toolchain w/ C++, threads" + depends on BR2_USE_MMU depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS
Signature · 1 line
1.9.3
PATCH 1/1 duma: not available on non-MMU platforms
Quoted 7 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Thomas" == Thomas Petazzoni <[email protected]> writes:
By design, building duma on Blackfin and other non-MMU platforms is quite useless: it uses page mappings to detect buffer overrun and use-after-free programming errors. Therefore, this commit simply marks duma as not available on non-MMU platforms.
Quoted 5 lines
Fixes:
http://autobuild.buildroot.org/results/951/9519d7abb45c6a789874ec6bb84418c31a98916b/
Signed-off-by Thomas Petazzoni <[email protected]>
Committed, thanks.
Signature · 1 line
Bye, Peter Korsgaard
PATCH 1/1 duma: not available on non-MMU platforms
In reply to Thomas PetazzoniThomas, All,
On 2014-05-18 19:45 +0200, Thomas Petazzoni spake thusly:
Quoted 10 lines
By design, building duma on Blackfin and other non-MMU platforms is quite useless: it uses page mappings to detect buffer overrun and use-after-free programming errors. Therefore, this commit simply marks duma as not available on non-MMU platforms.
Fixes:
http://autobuild.buildroot.org/results/951/9519d7abb45c6a789874ec6bb84418c31a98916b/
Signed-off-by Thomas Petazzoni <[email protected]>
Regards,
Yann E. MORIN.
Quoted 32 lines
--- package/duma/Config.in | 5 +++++ 1 file changed, 5 insertions(+)package/duma/Config.in +5
-0@@ -2,6 +2,10 @@ config BR2_PACKAGE_DUMA bool "duma" depends on BR2_INSTALL_LIBSTDCPP depends on BR2_TOOLCHAIN_HAS_THREADS + # By design, duma uses page mapping to isolate + # allocations. Non-MMU platforms cannot perform such + # things. + depends on BR2_USE_MMU help D.U.M.A. - Detect Unintended Memory Access. A fork of the Electric Fence library. Detects buffer overflow and@@ -17,4 +21,5 @@ config BR2_PACKAGE_DUMA_NO_LEAKDETECTION endif # BR2_PACKAGE_DUMA comment "duma needs a toolchain w/ C++, threads" + depends on BR2_USE_MMU depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADSSignature · 6 lines
1.9.3 _______________________________________________ buildroot mailing list buildroot at busybox.net http://lists.busybox.net/mailman/listinfo/buildroot
Signature · 6 lines
.-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 223 225 172 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------'