Summary: | dev-dotnet/pnet-0.6.2 ebuild failed compiling hb_gc.c | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Howard B. Golden <howard_b_golden> |
Component: | Current packages | Assignee: | dotnet project <dotnet> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | High | ||
Version: | unspecified | ||
Hardware: | x86 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
pnet ebuild which uses the pt_defs.h patch
pt_defs.h diff pt_defs.h diff |
Description
Howard B. Golden
2004-01-04 12:26:56 UTC
This is a threading related problem. pnet disables pthreads by default except on configurations that are known to work. I just had some other guys (using various glibc snapshots from December, including the one you are using) testing pnet and it works for them, except for the one configuration where glibc was compiled with +nptl. I will look into this tomorrow, I don't expect it to be too hard to fix. ok, could you please try the attached ebuild and place the .diff in your dev-dotnet/pnet/files directory ? The diff just removes the lines that cause the error (which don't seem to work out), but they aren't necessarily needed. I tried a test case that uses System.Threading in general (can be found here: http://wiki.dotgnu.org/PortableNet/Threads) and something that makes use of System.Threading.Monitor (the code in question) and both worked properly. I don't want to commit this (yet), at least until I verified that removing those lines doesn't break anything new. But again, from what it currently looks like, you should be perfectly happy with this work-around. If you have any code that makes use of threading and you could post your results here that would be perfect, of course. Created attachment 23211 [details]
pnet ebuild which uses the pt_defs.h patch
Created attachment 23212 [details, diff]
pt_defs.h diff
Created attachment 23213 [details, diff]
pt_defs.h diff
noticed a little diff-related quirk in the old diff, use this one :)
Rainer, your modified ebuild and patch work for me. Thanks for your prompt response! if there are no objections I will update the ebuild in the tree tomorrow to apply that diff if nptl is in USE (since it only breaks if glibc was built with +nptl, so I don't like to apply the patch on all systems on all platforms etc. even if it shouldn't have any downsides). committed. If no problems arise with this patch I expect to get all the 0.6.2 stuff into stable anytime soon. |