Tiny Core Extensions > TCE Bugs

[SOLVED] openvpn-2.4.9 x86 extension has a broken openssl dependency

<< < (2/3) > >>

patrikg:
How about option "-Os -s" to also strip in the CXXFLAGS.
Don't know if this breaks something, but just test a another option, just run strip
to the binary's if you have not do so.

Also read on the stack.

--- Quote ---"gcc -s" removes the relocation information along with the symbol table which is not done by "strip". Note that, removing relocation information would have some effect on Address space layout randomization. See this link.http://en.wikipedia.org/wiki/Address_space_layout_randomization
--- End quote ---

ovacikar:
The EXPORT lines from Rich helped. Size is down to 600K including the man page.

patrikg:
Yes, and thx for the confirm.
And if you need to compress because of more size limits, you can even upx the executable file.

Rich:
Hi ovacikar

--- Quote from: ovacikar on February 07, 2024, 06:42:59 AM ---The EXPORT lines from Rich helped. Size is down to 600K including the man page.
--- End quote ---
Then I'd say that's the explanation. From the current
TC14 x86 info file:

--- Quote ---Title:          openvpn.tcz
Description:    OpenVPN - Open Source Virtual Private Network
Version:        2.4.9
Author:         Various (see /usr/local/share/doc/openvpn/License/openvpn-authors.txt)
Original-site:  http://openvpn.net
Copying-policy: GPL (see /usr/local/share/doc/openvpn/License/openvpn-copying.txt)
Size:           576KB
Extension_by:   gutmensch, gnuser
Tags:           VPN connection network OpenVPN
Comments:       For client access use:
                $ sudo openvpn --config /path/to/your/conf
--- End quote ---

So your size is right in line with the previous version.

ovacikar:
I further commented out the man pages in the build script and down to 484 K


--- Code: ---484K Feb  7 12:14 openvpn.tcz
--- End code ---

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version