Re: /usr/bin/as: out of memory allocating 4194304 bytes after a

看板FB_current作者時間13年前 (2012/05/02 10:01), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串9/9 (看更多)
On 4/20/12 1:37 PM, Dimitry Andric wrote: > On 2012-04-20 22:21, Jason Evans wrote: >> On Apr 20, 2012, at 1:14 PM, Jason Evans wrote: >>> On Apr 20, 2012, at 1:10 PM, Dimitry Andric wrote: >>>> On 2012-04-20 21:54, Jason Evans wrote: >>>>> On Apr 20, 2012, at 12:49 PM, Dimitry Andric wrote: >>>>>> I think the best solution would be for jemalloc to avoid using >>>>>> obvious >>>>>> names like "chunksize" for its globals, because it is basically a >>>>>> library that could be linked to any sort of program out there. >>>>>> >>>>>> For example, it could prefix all its internal-use only globals >>>>>> with >>>>>> "jemalloc_" or some other mangling scheme. Jason, any thoughts? >>>>> >>>>> jemalloc has optional namespace mangling support built in for >>>>> just this reason. I'll turn it on, hopefully today. >>>> >>>> Indeed, I had just found jemalloc/internal/private_namespace.h. >>>> :) It >>>> does seem to list only functions, not variables, is that right? We do that with our driver.. variables and functions.. the symbols are all mangled in the .o file. >>> >>> Ah right, functions only. Well then, I don't have any bright >>> ideas for solving this problem in the short run. >> >> I take it back. There's spotty mangling coverage for variables. >> I'll try to add full coverage. > > I'm now using the attached. It seems to work... > > > _______________________________________________ > freebsd-current@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org" _______________________________________________ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"
文章代碼(AID): #1Fe9Lzq2 (FB_current)
討論串 (同標題文章)
文章代碼(AID): #1Fe9Lzq2 (FB_current)