--
You received this message because you are subscribed to the Google Groups "Native-Client-Discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to native-client-di...@googlegroups.com.
To post to this group, send email to native-cli...@googlegroups.com.
Visit this group at http://groups.google.com/group/native-client-discuss.
For more options, visit https://groups.google.com/d/optout.
Hi Pradeep,
The -sfi-foo flags were removed around the time we updated from 3.4 to 3.5. When using a triple with 'nacl' as the OS, the SFI sandboxing (data, load, store, stack and branch) is always on, and otherwise it is always off. It sounds like you don't actually want to select just a subset of it, but just want the default behavior for nacl, correct?
On Mon Feb 23 2015 at 5:58:35 AM <post4e...@gmail.com> wrote:
Background:--
I am using PNaCl as a platform for non-chrome usage
I have few example snippets which works with CLANG 3.4 and CLANG 3.5 to generate .ll file for corresponding .c files.
in the same way, Instead of 3.4 pnacl-llc when i tried to use the version 3.5 of pnacl-llc it throws the below ERROR.
pnacl-llc: Unknown command line argument '-sfi-data'. Try: './bin/pnacl-llc -help'
pnacl-llc: Did you mean '-stats'?
pnacl-llc: Unknown command line argument '-sfi-load'. Try: './bin/pnacl-llc -help'
pnacl-llc: Did you mean '-soft-float'?
pnacl-llc: Unknown command line argument '-sfi-stack'. Try: './bin/pnacl-llc -help'
pnacl-llc: Did you mean '-asan-stack'?
pnacl-llc: Unknown command line argument '-sfi-store'. Try: './bin/pnacl-llc -help'
pnacl-llc: Did you mean '-filetype'?
Then tried to have a look at the available options in the 3.5 version and i failed to spot the equivalent flags to set sand-boxing which was present in 3.4 version
root@mypc:/home/mypcuser/all-toolchain/pnacl_toolchain/pnacl_newlib# ./bin/pnacl-llc -O0 -sfi-data -sfi-load -sfi-stack -sfi-store -march=arm -mtriple=armv7a-none-nacl-gnueabisf test.ll -o test.s
works on pnacl-llc 3.4 but not 3.5.
it will of great help if you could let me know the equivalent flags fo the above 3.4 flags on 3.5... Thanks in advance..
-Pradeep
You received this message because you are subscribed to the Google Groups "Native-Client-Discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to native-client-discuss+unsub...@googlegroups.com.
Thanks for the response Derek...
I would also like to use the combination of different flags :) as well not only the default behaviour. is there a way to achieve this?
-Pradeep