Bug#882007: [Pkg-openssl-devel] Bug#882007: openssl: add mips r6 support

2017-11-28 Thread Sebastian Andrzej Siewior
control: forwarded -1 https://github.com/openssl/openssl/pull/4813
On 2017-11-18 05:45:29 [+0800], YunQiang Su wrote:
> If you can help to forward, it will be great.

done.

Sebastian



Bug#882007: [Pkg-openssl-devel] Bug#882007: openssl: add mips r6 support

2017-11-17 Thread YunQiang Su
On Sat, Nov 18, 2017 at 4:41 AM, Sebastian Andrzej Siewior
 wrote:
> On 2017-11-17 22:45:26 [+0800], YunQiang Su wrote:
>> +--- a/Configurations/10-main.conf
>>  b/Configurations/10-main.conf
>> +@@ -736,6 +736,31 @@ sub vms_info {
>> + shared_ldflag=> add("-mabi=64"),
>> + multilib => "64",
>> + },
>> ++"linux-mips32r6" => {
>> ++# Configure script adds minimally required -march for assembly
>> ++# support, if no -march was specified at command line.
>> ++inherit_from => [ "linux-generic32"],
>> ++cflags   => add("-mabi=32"),
>> ++perlasm_scheme   => "o32",
>> ++shared_ldflag=> add("-mabi=32"),
>> ++},
>> ++# mips32 and mips64 below refer to contemporary MIPS Architecture
>> ++# specifications, MIPS32 and MIPS64, rather than to kernel bitness.
>> ++"linux-mips64r6" => {
>> ++inherit_from => [ "linux-generic32"],
>> ++cflags   => add("-mabi=n32"),
>> ++bn_ops   => "SIXTY_FOUR_BIT RC4_CHAR",
>> ++perlasm_scheme   => "n32",
>> ++shared_ldflag=> add("-mabi=n32"),
>> ++multilib => "32",
>> ++},
>> ++"linux64-mips64r6" => {
>> ++inherit_from => [ "linux-generic64"],
>> ++cflags   => add("-mabi=64"),
>> ++perlasm_scheme   => "64",
>> ++shared_ldflag=> add("-mabi=64"),
>> ++multilib => "64",
>> ++},
>
> That part should go upstream. Do you want me to forward it or do you do
> it yourself?

If you can help to forward, it will be great.

>
> Sebastian



-- 
YunQiang Su



Bug#882007: [Pkg-openssl-devel] Bug#882007: openssl: add mips r6 support

2017-11-17 Thread Sebastian Andrzej Siewior
On 2017-11-17 22:45:26 [+0800], YunQiang Su wrote:
> +--- a/Configurations/10-main.conf
>  b/Configurations/10-main.conf
> +@@ -736,6 +736,31 @@ sub vms_info {
> + shared_ldflag=> add("-mabi=64"),
> + multilib => "64",
> + },
> ++"linux-mips32r6" => {
> ++# Configure script adds minimally required -march for assembly
> ++# support, if no -march was specified at command line.
> ++inherit_from => [ "linux-generic32"],
> ++cflags   => add("-mabi=32"),
> ++perlasm_scheme   => "o32",
> ++shared_ldflag=> add("-mabi=32"),
> ++},
> ++# mips32 and mips64 below refer to contemporary MIPS Architecture
> ++# specifications, MIPS32 and MIPS64, rather than to kernel bitness.
> ++"linux-mips64r6" => {
> ++inherit_from => [ "linux-generic32"],
> ++cflags   => add("-mabi=n32"),
> ++bn_ops   => "SIXTY_FOUR_BIT RC4_CHAR",
> ++perlasm_scheme   => "n32",
> ++shared_ldflag=> add("-mabi=n32"),
> ++multilib => "32",
> ++},
> ++"linux64-mips64r6" => {
> ++inherit_from => [ "linux-generic64"],
> ++cflags   => add("-mabi=64"),
> ++perlasm_scheme   => "64",
> ++shared_ldflag=> add("-mabi=64"),
> ++multilib => "64",
> ++},

That part should go upstream. Do you want me to forward it or do you do
it yourself?

Sebastian