| View previous topic :: View next topic |
| Author |
Message |
dskchk neophyte
Joined: 19 Feb 2011 Posts: 23
|
Posted: Mon Aug 27, 2012 5:14 pm Post subject: |
|
|
Hi Fabtar,
I tried mldonkey 3.1.3 (armel, native) but I have the same problem that I had with 3.1.0, while 3.0.5 and 3.0.1 worked fine.
| Code: |
terminate called after throwing an instance of '__gnu_cxx::__concurrence_broadcast_error'
what(): __gnu_cxx::__concurrence_broadcast_error
Aborted
|
ygrek suggested something to see if it works. You said you would have taken a look at it... Any news for this? |
|
| Back to top |
|
 |
fabtar Sage

Joined: 04 Feb 2004 Posts: 1575 Location: Italy
|
Posted: Mon Aug 27, 2012 7:38 pm Post subject: |
|
|
I have to admit that my life is too much multithreaded and my brain is affected by major data-losses.. You have to give me a link to the conversation/messsage/thread in order to refresh my mind.. I remind something regarding crypto++, if you give me again the ygrek suggestion I'll compile a new cores in reasonable time.
Otherwise I'll look on my messed-up notes/todo ... _________________ ARM,ARMEL,MIPS,MIPSEL,POWERPC mldonkey cores: http://fabtar.ygrek.org.ua/ |
|
| Back to top |
|
 |
fabtar Sage

Joined: 04 Feb 2004 Posts: 1575 Location: Italy
|
Posted: Mon Aug 27, 2012 7:40 pm Post subject: |
|
|
Oh, damn, I have found out ygrek suggestion, I'm going into this this eavining... I have totally forgotten about this issue. _________________ ARM,ARMEL,MIPS,MIPSEL,POWERPC mldonkey cores: http://fabtar.ygrek.org.ua/ |
|
| Back to top |
|
 |
fabtar Sage

Joined: 04 Feb 2004 Posts: 1575 Location: Italy
|
Posted: Mon Aug 27, 2012 7:43 pm Post subject: |
|
|
dskchk can you please check if bytecode compiled cores are affected too? Just for curiosity.. _________________ ARM,ARMEL,MIPS,MIPSEL,POWERPC mldonkey cores: http://fabtar.ygrek.org.ua/ |
|
| Back to top |
|
 |
fabtar Sage

Joined: 04 Feb 2004 Posts: 1575 Location: Italy
|
Posted: Mon Aug 27, 2012 9:38 pm Post subject: |
|
|
I have to try two things...
korbus has sucessfully compiled the core with this trick:
| Quote: |
The binaries were compiled from the official sources, without any patches except for some Makefile tweaks, needed for MLdonkey. For those who'd like to build their own cores on device, most of them compile and work without any problems, following the usual configure/make way. The only catch is MLdonkey which seems to reveal some gcc optimization bug in the CryptoPP compiled code, so optimization should be changed from -O2 to -Os and the option -fomit-frame-pointer should be removed. That's all tweaks I had to make. |
but time ago ygrek has suggested this compile options:
-Wl,--whole-archive -lpthread -Wl,--no-whole-archive -lc
pointing out the problem is this:
http://sourcery.mentor.com/archives/arm-gnu/msg03327.html
@ygrek
I don't understand the issue or these options for real , I'll simply try these...
Are any of these already added by configure on arm/armel ?
@All
I need to know:
do ARM core fails in the same way ?(with sui)
do bytecode ARMEL code fails in the same way?
PLEASE TRY! _________________ ARM,ARMEL,MIPS,MIPSEL,POWERPC mldonkey cores: http://fabtar.ygrek.org.ua/ |
|
| Back to top |
|
 |
dskchk neophyte
Joined: 19 Feb 2011 Posts: 23
|
Posted: Tue Aug 28, 2012 7:31 am Post subject: |
|
|
Hi fabtar,
I confirm that bytecode ARMEL code fails in the same way. |
|
| Back to top |
|
 |
ygrek professional

Joined: 20 Mar 2010 Posts: 521
|
|
| Back to top |
|
 |
fabtar Sage

Joined: 04 Feb 2004 Posts: 1575 Location: Italy
|
Posted: Thu Aug 30, 2012 10:30 pm Post subject: |
|
|
Ok, I think that sunday is the right day for me to apply the patch; on sunday my girlfriend 'll left me alone in order to go her mother's den!! Happinessssss!!! _________________ ARM,ARMEL,MIPS,MIPSEL,POWERPC mldonkey cores: http://fabtar.ygrek.org.ua/ |
|
| Back to top |
|
 |
dskchk neophyte
Joined: 19 Feb 2011 Posts: 23
|
Posted: Fri Aug 31, 2012 6:56 am Post subject: |
|
|
Anyway, if you need me to test some builds compiled with alternative switches, I can do it. |
|
| Back to top |
|
 |
fabtar Sage

Joined: 04 Feb 2004 Posts: 1575 Location: Italy
|
Posted: Mon Sep 03, 2012 4:55 pm Post subject: |
|
|
What a pain! What a shame, I'm having a very hard time applying a simple patch.
I have forgotten all the basics... damn
It'll take a lot of time. _________________ ARM,ARMEL,MIPS,MIPSEL,POWERPC mldonkey cores: http://fabtar.ygrek.org.ua/ |
|
| Back to top |
|
 |
fabtar Sage

Joined: 04 Feb 2004 Posts: 1575 Location: Italy
|
Posted: Mon Sep 03, 2012 4:56 pm Post subject: |
|
|
are git diffs different ? _________________ ARM,ARMEL,MIPS,MIPSEL,POWERPC mldonkey cores: http://fabtar.ygrek.org.ua/ |
|
| Back to top |
|
 |
fabtar Sage

Joined: 04 Feb 2004 Posts: 1575 Location: Italy
|
Posted: Mon Sep 03, 2012 5:10 pm Post subject: |
|
|
it looks simple unified format.. but something is wrong.. something is wrong with the patches
example:
| Code: |
patch -p1 -R -i /mnt/public/archivio_cores/patch.arm
patching file config/Makefile.in
Unreversed patch detected! Ignore -R? [n] n
Apply anyway? [n] y
Hunk #1 succeeded at 38 with fuzz 2 (offset 4 lines).
Hunk #2 FAILED at 128.
Hunk #3 FAILED at 143.
Hunk #4 FAILED at 173.
Hunk #5 FAILED at 204.
Hunk #6 FAILED at 558.
Hunk #7 FAILED at 572.
Hunk #8 FAILED at 660.
Hunk #9 FAILED at 673.
Hunk #10 FAILED at 1286.
Hunk #11 FAILED at 1314.
Hunk #12 FAILED at 1325.
Hunk #13 FAILED at 1373.
12 out of 13 hunks FAILED -- saving rejects to file config/Makefile.in.rej |
I have to admit, years ago I have studied diff and patch man pages and guides, current day, I have forgot all....
No luck
PS: my twenty minutes of free time per day are over.. see you another day/week/later  _________________ ARM,ARMEL,MIPS,MIPSEL,POWERPC mldonkey cores: http://fabtar.ygrek.org.ua/ |
|
| Back to top |
|
 |
dskchk neophyte
Joined: 19 Feb 2011 Posts: 23
|
Posted: Mon Sep 03, 2012 6:05 pm Post subject: |
|
|
| I'm not a patch command-line expert, but why are you using -R switch? Isn't the patch file you're using supposed to be a direct patch on the source to apply the fix? |
|
| Back to top |
|
 |
fabtar Sage

Joined: 04 Feb 2004 Posts: 1575 Location: Italy
|
Posted: Mon Sep 03, 2012 6:12 pm Post subject: |
|
|
Don't know... I have simple done cut© from howtos and then I have applyed few random changes in order to fix.
I'll try removing -R tomorrow, but I think I have already tried this too.
Currently I'm lacking the time to read&learn&think so I have to fall back to simply no brain cut&paste + random mutation.  _________________ ARM,ARMEL,MIPS,MIPSEL,POWERPC mldonkey cores: http://fabtar.ygrek.org.ua/ |
|
| Back to top |
|
 |
dskchk neophyte
Joined: 19 Feb 2011 Posts: 23
|
Posted: Mon Sep 03, 2012 7:13 pm Post subject: |
|
|
| I would say, you just need to remove the -R switch, assuming the patch you downloaded still applies to current 3.1.3 source. |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © phpBB Group
|
|
|
|