id,summary,reporter,owner,description,type,status,priority,milestone,component,version,resolution,keywords,cc,os,architecture,failure,difficulty,testcase,blockedby,blocking,related
5114,"-with-rtsopts, ghc_rts_opts not honoured",guest,,"using -with-rtsopts or ghc_rts_opts to build a program, the program subsequently aborts with ""Most RTS options are disabled. Link with -rtsopts to enable them."" I don't have the environment variable GHCRTS.

{{{
$ echo 'main = print (foldl1 (+) [1..100000])' > main.hs
$ ghc --make -with-rtsopts='-K1m' main.hs
$ ./main
main: Most RTS options are disabled. Link with -rtsopts to enable them.
}}}

{{{
$ rm main main.hi main.o
$ echo 'char *ghc_rts_opts = ""-K1m"";' > ro.c
$ ghc --make main.hs ro.c
$ ./main
main: Most RTS options are disabled. Link with -rtsopts to enable them.
}}}

I obtained ghc from the generic binary tarball for linux x86 32-bit.

This is present in both 7.0.2 and 7.0.3. I don't know about 7.0.1.",bug,closed,normal,7.2.1,Runtime System,7.0.3,fixed,,trebla@…,Linux,x86,Incorrect result at runtime,,,,,
