Login
Username:

Password:

Remember me



Lost Password?

Register now!
Main Menu
Who is Online
8 user(s) are online (7 user(s) are browsing Forum)

Members: 0
Guests: 8

more...


Browsing this Thread:   1 Anonymous Users




« 1 (2) 3 »


Re: AmiSSL
#19
Not too shy to talk
Not too shy to talk


See User information
Quote:

Kalamatee wrote:
Quote:

nikolas wrote:
> enabling -D__AROS__=1 -D__aros__=1
>shouldnt be neccessary

It looks that it is necessary, but I could use only one flag.


The cross compiler defines those (they are hard coded in it). If they weren't there, most things in the source tree would not compile correctly. if the code doesn't detect them, you are likely using the wrong compiler.


I checked better. The compiler inject __AROS__. My compilation failed because __aros__ is not injected. I modified it in the patch to be with capital case.


Quote:

Quote:

> --cross-compile-prefix=i386-aros
> sould be probably left to the system to determine (what > about the other targets)



I believe that should be determined/set by openssl's configure scripts.



I guess you are right. I wanted a shortcut to avoid to patch the Configure script of OpenSSL, but I understand the point here. I guess I can use $(AROS_TARGET_CPU) to find the prefix.

Quote:

Quote:

> ...
> -debug
> -should probably be left out to be specified in configure flag.

Do you how I can find them? Can someone suggest some mmakefile or documentation?


Configure injects some of those into the TARGET_CFLAGS, via the generated files from "config/". if you are building in the build system they will be automatically provided, unless you use something incorrectly.


I see. I'll modify that also.

Posted on: 2018/6/8 22:55
 Top  Twitter  Facebook  Google Plus  Linkedin  Del.icio.us  Digg  Reddit  Mr. Wong 


Re: AmiSSL
#18
Home away from home
Home away from home


See User information
Quote:

nikolas wrote:
> enabling -D__AROS__=1 -D__aros__=1
>shouldnt be neccessary

It looks that it is necessary, but I could use only one flag.


The cross compiler defines those (they are hard coded in it). If they weren't there, most things in the source tree would not compile correctly. if the code doesn't detect them, you are likely using the wrong compiler.

Quote:

> no-threads
> -not sure. ptreads migt be used dunno, but it may need c++ static lib as a prerequisite.

I removed this one and I was able to compile as well. Now it should be thread-safe :)

> --cross-compile-prefix=i386-aros
> sould be probably left to the system to determine (what > about the other targets)



I believe that should be determined/set by openssl's configure scripts.

Quote:

> ...
> -debug
> -should probably be left out to be specified in configure flag.

Do you how I can find them? Can someone suggest some mmakefile or documentation?


Configure injects some of those into the TARGET_CFLAGS, via the generated files from "config/". if you are building in the build system they will be automatically provided, unless you use something incorrectly.


Posted on: 2018/6/8 20:47
Resized Image
 Top  Twitter  Facebook  Google Plus  Linkedin  Del.icio.us  Digg  Reddit  Mr. Wong 


Re: AmiSSL
#17
Not too shy to talk
Not too shy to talk


See User information
> enabling -D__AROS__=1 -D__aros__=1
>shouldnt be neccessary

It looks that it is necessary, but I could use only one flag.

> no-threads
> -not sure. ptreads migt be used dunno, but it may need c++ static lib as a prerequisite.

I removed this one and I was able to compile as well. Now it should be thread-safe :)

> --cross-compile-prefix=i386-aros
> sould be probably left to the system to determine (what > about the other targets)
> ...
> -debug
> -should probably be left out to be specified in configure flag.


Do you how I can find them? Can someone suggest some mmakefile or documentation?

Posted on: 2018/6/8 20:17
 Top  Twitter  Facebook  Google Plus  Linkedin  Del.icio.us  Digg  Reddit  Mr. Wong 


Re: AmiSSL
#16
Home away from home
Home away from home


See User information
within aros surce tree

enabling
-D__AROS__=1 -D__aros__=1
shouldnt be neccessary

--cross-compile-prefix=i386-aros
sould be probably left to the system to determine (what about the other targets)

no-shared
-probably correct, as it refers to generating so libs.

no-threads
-not sure. ptreads migt be used dunno, but it may need c++ static lib as a prerequisite.

-debug
-should probably be left out to be specified in configure flag.

but take my comments with a grain of salt, they might be confirmed or not, im not that experenced ;)

Posted on: 2018/6/8 0:52
 Top  Twitter  Facebook  Google Plus  Linkedin  Del.icio.us  Digg  Reddit  Mr. Wong 


Re: AmiSSL
#15
Not too shy to talk
Not too shy to talk


See User information
Hi Kalamatee,
thanks for the quick answer.

Quote:

by Kalamatee wrote:

would be if the final file in the patch (util/shlib_wrap.sh) is necessary?



No, it was just missing from my exclude list. I'll remove it

I see that "make test" from openssl was invoking a perl script to run the automated tests, and I cannot do the same in AROS. I guess the only way here is to reimplement it using AROS shell scripting or something similar. Any better idea?

I tried with sh but I see the posix implementation is still not completed.This the error I got while trying to execute the script:

The function posixc/sigprocmask() is not implemented.
[KRN] Trap signal 11, SysBase b8b991e0, KernelBase b8b99f44
SP=b9717370 FP=b9717388 PC=b96e347a
R0=0000000a R1=b9717f60 R2=0000000a R3=b971d948
R4=b97197d2 R5=ce7aaaa2

Posted on: 2018/6/7 22:50
 Top  Twitter  Facebook  Google Plus  Linkedin  Del.icio.us  Digg  Reddit  Mr. Wong 


Re: AmiSSL
#14
Home away from home
Home away from home


See User information
Quote:

nikolas wrote:
Hi all,

Finally I was able to compile all the tests and to make a proper mmakefile and patch.

You can find the two files on this <a href="https://github.com/nscendoni/AROS-mirror/tree/ABI_V1/contrib/development/libs/openssl">link</a>.
My notes during developments are <a href="https://gist.github.com/nscendoni/7d33689b11ecf35ceb95d8984c0fd52d">here</a>

I have successfully run some of the test on AROS, but I still have to compile make on my AROS ABI_V1 to be able to automatically run all of them.

Please give a look on it, since I do not have specific experience programming on Amiga or AROS, but I did my best reading some documentation and what was done for 1.0.1 version.


I took a quick look, and it seems fine (though I haven't tried to build or use it yet). My only question would be if the final file in the patch (util/shlib_wrap.sh) is necessary?

Posted on: 2018/6/7 21:05
Resized Image
 Top  Twitter  Facebook  Google Plus  Linkedin  Del.icio.us  Digg  Reddit  Mr. Wong 


Re: AmiSSL
#13
Not too shy to talk
Not too shy to talk


See User information
Hi all,

Finally I was able to compile all the tests and to make a proper mmakefile and patch.

You can find the two files on this <a href="https://github.com/nscendoni/AROS-mirror/tree/ABI_V1/contrib/development/libs/openssl">link</a>.
My notes during developments are <a href="https://gist.github.com/nscendoni/7d33689b11ecf35ceb95d8984c0fd52d">here</a>

I have successfully run some of the test on AROS, but I still have to compile make on my AROS ABI_V1 to be able to automatically run all of them.

Please give a look on it, since I do not have specific experience programming on Amiga or AROS, but I did my best reading some documentation and what was done for 1.0.1 version.

Posted on: 2018/6/7 19:43

Edited by nikolas on 2018/6/7 20:46:19
 Top  Twitter  Facebook  Google Plus  Linkedin  Del.icio.us  Digg  Reddit  Mr. Wong 


Re: AmiSSL
#12
Home away from home
Home away from home


See User information
@nikolas

Fantastic news! Good times for ABI v1!

Keep up the good work!

Posted on: 2018/6/6 19:35
 Top  Twitter  Facebook  Google Plus  Linkedin  Del.icio.us  Digg  Reddit  Mr. Wong 


Re: AmiSSL
#11
Home away from home
Home away from home


See User information
i certainly will, assuming nikolas provides me with a diff or preliminarly tests and commits his changes, best case ater review by kalamatee o neil.

Posted on: 2018/6/6 7:30
 Top  Twitter  Facebook  Google Plus  Linkedin  Del.icio.us  Digg  Reddit  Mr. Wong 


Re: AmiSSL
#10
Home away from home
Home away from home


See User information
Whow :o
Fantastic news.
Maybe Wawa can build odyssey web browser and update SSL with your build.

Thank you for the work on this :)

Posted on: 2018/6/6 5:53
www.aspireos.com
 Top  Twitter  Facebook  Google Plus  Linkedin  Del.icio.us  Digg  Reddit  Mr. Wong 




« 1 (2) 3 »



You can view topic.
You cannot start a new topic.
You cannot reply to posts.
You cannot edit your posts.
You cannot delete your posts.
You cannot add new polls.
You cannot vote in polls.
You cannot attach files to posts.
You cannot post without approval.
You cannot use topic type.
You cannot use HTML syntax.
You cannot use signature.
You cannot create PDF files.
You cannot get print page.

[Advanced Search]


Search
Top Posters
1 paolone
paolone
4462
2 nikolaos
nikolaos
4206
3 magorium
magorium
4095
4 phoenixkonsole
phoenixkonsole
3942
5 deadwood
deadwood
2917
6 ncafferkey
ncafferkey
2810
7 mazze
mazze
2222
8 Kalamatee
Kalamatee
2212
9 clusteruk
clusteruk
2114
Powered by XOOPS © 2001-2025 The XOOPS Project