* Should openssl(-native) build-depends on perl-native?
@ 2015-10-03 12:51 Jens Rehsack
2015-10-05 8:12 ` Richard Purdie
0 siblings, 1 reply; 5+ messages in thread
From: Jens Rehsack @ 2015-10-03 12:51 UTC (permalink / raw)
To: OE-core
Hi,
I hit a build error never seen before:
| gcc -I.. -I../.. -I../modes -I../asn1 -I../evp -I../../include -fPIC -DOPENSSL_PIC -DOPENSSL_THREADS -D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -DL_ENDIAN -DTERMIO -isystem/home/sno/fsl-community-bsp/ornithologen-kann-man-mit-voegeln-eine-freude-machen/tmp/sysroots/x86_64-linux/usr/include -O2 -pipe -Wall -Wa,--noexecstack -DHAVE_CRYPTODEV -DUSE_CRYPTODEV_DIGESTS -DOPENSSL_IA32_SSE2 -DOPENSSL_BN_ASM_MONT -DOPENSSL_BN_ASM_MONT5 -DOPENSSL_BN_ASM_GF2m -DSHA1_ASM -DSHA256_ASM -DSHA512_ASM -DMD5_ASM -DAES_ASM -DVPAES_ASM -DBSAES_ASM -DWHIRLPOOL_ASM -DGHASH_ASM -DECP_NISTZ256_ASM -isystem/home/sno/fsl-community-bsp/ornithologen-kann-man-mit-voegeln-eine-freude-machen/tmp/sysroots/x86_64-linux/usr/include -c -o sha512.o sha512.c
| /home/sno/perl5/perlbrew/perls/perl-5.6.2/bin/perl asm/sha1-x86_64.pl elf > sha1-x86_64.s
| Can't locate bigint.pm in @INC (@INC contains: /home/sno/perl5/perlbrew/perls/perl-5.6.2/lib/5.6.2/x86_64-linux /home/sno/perl5/perlbrew/perls/perl-5.6.2/lib/5.6.2 /home/sno/perl5/perlbrew/perls/perl-5.6.2/lib/site_perl/5.6.2/x86_64-linux /home/sno/perl5/perlbrew/perls/perl-5.6.2/lib/site_perl/5.6.2 /home/sno/perl5/perlbrew/perls/perl-5.6.2/lib/site_perl .) at asm/../../perlasm/x86_64-xlate.pl line 200.
| BEGIN failed--compilation aborted at asm/../../perlasm/x86_64-xlate.pl line 200.
| make[2]: *** [sha1-x86_64.s] Error 141
| make[2]: Leaving directory `/home/sno/fsl-community-bsp/ornithologen-kann-man-mit-voegeln-eine-freude-machen/tmp/work/x86_64-linux/openssl-native/1.0.2d-r0/openssl-1.0.2d/crypto/sha'
| make[1]: *** [subdirs] Error 1
| make[1]: Leaving directory `/home/sno/fsl-community-bsp/ornithologen-kann-man-mit-voegeln-eine-freude-machen/tmp/work/x86_64-linux/openssl-native/1.0.2d-r0/openssl-1.0.2d/crypto'
| make: *** [build_crypto] Error 1
| ERROR: oe_runmake failed
| WARNING: /home/sno/fsl-community-bsp/ornithologen-kann-man-mit-voegeln-eine-freude-machen/tmp/work/x86_64-linux/openssl-native/1.0.2d-r0/temp/run.do_compile.15132:1 exit 1 from
| exit 1
| ERROR: Function failed: do_compile (log file is located at /home/sno/fsl-community-bsp/ornithologen-kann-man-mit-voegeln-eine-freude-machen/tmp/work/x86_64-linux/openssl-native/1.0.2d-r0/temp/log.do_compile.15132)
ERROR: Task 1531 (virtual:native:/home/sno/fsl-community-bsp/sources/poky/meta/recipes-connectivity/openssl/openssl_1.0.2d.bb, do_compile) failed with exit code '1'
Seems I recently used the same session to run my own module tests for a perl module to upload.
OTOH - it's easy to avoid such a problem by depending on perl-native for openssl(-native).
Cheers
--
Jens Rehsack - rehsack@gmail.com
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Should openssl(-native) build-depends on perl-native?
2015-10-03 12:51 Should openssl(-native) build-depends on perl-native? Jens Rehsack
@ 2015-10-05 8:12 ` Richard Purdie
2015-11-09 1:42 ` Randy MacLeod
0 siblings, 1 reply; 5+ messages in thread
From: Richard Purdie @ 2015-10-05 8:12 UTC (permalink / raw)
To: Jens Rehsack; +Cc: OE-core
On Sat, 2015-10-03 at 14:51 +0200, Jens Rehsack wrote:
> I hit a build error never seen before:
>
> | gcc -I.. -I../.. -I../modes -I../asn1 -I../evp -I../../include -fPIC -DOPENSSL_PIC -DOPENSSL_THREADS -D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -DL_ENDIAN -DTERMIO -isystem/home/sno/fsl-community-bsp/ornithologen-kann-man-mit-voegeln-eine-freude-machen/tmp/sysroots/x86_64-linux/usr/include -O2 -pipe -Wall -Wa,--noexecstack -DHAVE_CRYPTODEV -DUSE_CRYPTODEV_DIGESTS -DOPENSSL_IA32_SSE2 -DOPENSSL_BN_ASM_MONT -DOPENSSL_BN_ASM_MONT5 -DOPENSSL_BN_ASM_GF2m -DSHA1_ASM -DSHA256_ASM -DSHA512_ASM -DMD5_ASM -DAES_ASM -DVPAES_ASM -DBSAES_ASM -DWHIRLPOOL_ASM -DGHASH_ASM -DECP_NISTZ256_ASM -isystem/home/sno/fsl-community-bsp/ornithologen-kann-man-mit-voegeln-eine-freude-machen/tmp/sysroots/x86_64-linux/usr/include -c -o sha512.o sha512.c
> | /home/sno/perl5/perlbrew/perls/perl-5.6.2/bin/perl asm/sha1-x86_64.pl elf > sha1-x86_64.s
> | Can't locate bigint.pm in @INC (@INC contains: /home/sno/perl5/perlbrew/perls/perl-5.6.2/lib/5.6.2/x86_64-linux /home/sno/perl5/perlbrew/perls/perl-5.6.2/lib/5.6.2 /home/sno/perl5/perlbrew/perls/perl-5.6.2/lib/site_perl/5.6.2/x86_64-linux /home/sno/perl5/perlbrew/perls/perl-5.6.2/lib/site_perl/5.6.2 /home/sno/perl5/perlbrew/perls/perl-5.6.2/lib/site_perl .) at asm/../../perlasm/x86_64-xlate.pl line 200.
> | BEGIN failed--compilation aborted at asm/../../perlasm/x86_64-xlate.pl line 200.
> | make[2]: *** [sha1-x86_64.s] Error 141
> | make[2]: Leaving directory `/home/sno/fsl-community-bsp/ornithologen-kann-man-mit-voegeln-eine-freude-machen/tmp/work/x86_64-linux/openssl-native/1.0.2d-r0/openssl-1.0.2d/crypto/sha'
> | make[1]: *** [subdirs] Error 1
> | make[1]: Leaving directory `/home/sno/fsl-community-bsp/ornithologen-kann-man-mit-voegeln-eine-freude-machen/tmp/work/x86_64-linux/openssl-native/1.0.2d-r0/openssl-1.0.2d/crypto'
> | make: *** [build_crypto] Error 1
> | ERROR: oe_runmake failed
> | WARNING: /home/sno/fsl-community-bsp/ornithologen-kann-man-mit-voegeln-eine-freude-machen/tmp/work/x86_64-linux/openssl-native/1.0.2d-r0/temp/run.do_compile.15132:1 exit 1 from
> | exit 1
> | ERROR: Function failed: do_compile (log file is located at /home/sno/fsl-community-bsp/ornithologen-kann-man-mit-voegeln-eine-freude-machen/tmp/work/x86_64-linux/openssl-native/1.0.2d-r0/temp/log.do_compile.15132)
> ERROR: Task 1531 (virtual:native:/home/sno/fsl-community-bsp/sources/poky/meta/recipes-connectivity/openssl/openssl_1.0.2d.bb, do_compile) failed with exit code '1'
>
> Seems I recently used the same session to run my own module tests for a perl module to upload.
> OTOH - it's easy to avoid such a problem by depending on perl-native for openssl(-native).
Whilst you could add this dependency, it would have quite a significant
impact on build time. We rely on there being a working perl on the
native system for autotools so there isn't really a good reason to do
this.
Cheers,
Richard
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Should openssl(-native) build-depends on perl-native?
2015-10-05 8:12 ` Richard Purdie
@ 2015-11-09 1:42 ` Randy MacLeod
2015-11-09 12:17 ` Burton, Ross
0 siblings, 1 reply; 5+ messages in thread
From: Randy MacLeod @ 2015-11-09 1:42 UTC (permalink / raw)
To: Richard Purdie, Jens Rehsack; +Cc: OE-core
On 2015-10-05 04:12 AM, Richard Purdie wrote:
> On Sat, 2015-10-03 at 14:51 +0200, Jens Rehsack wrote:
>> I hit a build error never seen before:
>>
>> | gcc -I.. -I../.. -I../modes -I../asn1 -I../evp -I../../include -fPIC -DOPENSSL_PIC -DOPENSSL_THREADS -D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -DL_ENDIAN -DTERMIO -isystem/home/sno/fsl-community-bsp/ornithologen-kann-man-mit-voegeln-eine-freude-machen/tmp/sysroots/x86_64-linux/usr/include -O2 -pipe -Wall -Wa,--noexecstack -DHAVE_CRYPTODEV -DUSE_CRYPTODEV_DIGESTS -DOPENSSL_IA32_SSE2 -DOPENSSL_BN_ASM_MONT -DOPENSSL_BN_ASM_MONT5 -DOPENSSL_BN_ASM_GF2m -DSHA1_ASM -DSHA256_ASM -DSHA512_ASM -DMD5_ASM -DAES_ASM -DVPAES_ASM -DBSAES_ASM -DWHIRLPOOL_ASM -DGHASH_ASM -DECP_NISTZ256_ASM -isystem/home/sno/fsl-community-bsp/ornithologen-kann-man-mit-voegeln-eine-freude-machen/tmp/sysroots/x86_64-linux/usr/include -c -o sha512.o sha512.c
>> | /home/sno/perl5/perlbrew/perls/perl-5.6.2/bin/perl asm/sha1-x86_64.pl elf > sha1-x86_64.s
>> | Can't locate bigint.pm in @INC (@INC contains: /home/sno/perl5/perlbrew/perls/perl-5.6.2/lib/5.6.2/x86_64-linux /home/sno/perl5/perlbrew/perls/perl-5.6.2/lib/5.6.2 /home/sno/perl5/perlbrew/perls/perl-5.6.2/lib/site_perl/5.6.2/x86_64-linux /home/sno/perl5/perlbrew/perls/perl-5.6.2/lib/site_perl/5.6.2 /home/sno/perl5/perlbrew/perls/perl-5.6.2/lib/site_perl .) at asm/../../perlasm/x86_64-xlate.pl line 200.
>> | BEGIN failed--compilation aborted at asm/../../perlasm/x86_64-xlate.pl line 200.
>> | make[2]: *** [sha1-x86_64.s] Error 141
>> | make[2]: Leaving directory `/home/sno/fsl-community-bsp/ornithologen-kann-man-mit-voegeln-eine-freude-machen/tmp/work/x86_64-linux/openssl-native/1.0.2d-r0/openssl-1.0.2d/crypto/sha'
>> | make[1]: *** [subdirs] Error 1
>> | make[1]: Leaving directory `/home/sno/fsl-community-bsp/ornithologen-kann-man-mit-voegeln-eine-freude-machen/tmp/work/x86_64-linux/openssl-native/1.0.2d-r0/openssl-1.0.2d/crypto'
>> | make: *** [build_crypto] Error 1
>> | ERROR: oe_runmake failed
>> | WARNING: /home/sno/fsl-community-bsp/ornithologen-kann-man-mit-voegeln-eine-freude-machen/tmp/work/x86_64-linux/openssl-native/1.0.2d-r0/temp/run.do_compile.15132:1 exit 1 from
>> | exit 1
>> | ERROR: Function failed: do_compile (log file is located at /home/sno/fsl-community-bsp/ornithologen-kann-man-mit-voegeln-eine-freude-machen/tmp/work/x86_64-linux/openssl-native/1.0.2d-r0/temp/log.do_compile.15132)
>> ERROR: Task 1531 (virtual:native:/home/sno/fsl-community-bsp/sources/poky/meta/recipes-connectivity/openssl/openssl_1.0.2d.bb, do_compile) failed with exit code '1'
>>
>> Seems I recently used the same session to run my own module tests for a perl module to upload.
>> OTOH - it's easy to avoid such a problem by depending on perl-native for openssl(-native).
>
> Whilst you could add this dependency, it would have quite a significant
> impact on build time. We rely on there being a working perl on the
> native system for autotools so there isn't really a good reason to do
> this.
openssl fails to build on Fedora 23 with this signature.
I suspect that bigint.pm isn't standard and that we
need to re-work:
commit cd3eddcf2842b9a360f72caf4337ab2968462bb2
Author: Cristian Iorga <cristian.iorga@intel.com>
Date: Tue Jun 16 00:32:15 2015 +0300
openssl: fix building on x32 systems
Fix build on Fedora 21 i686.
When building on x32 systems where the default type is 32bit,
make sure that 64bit integers can be represented transparently.
Signed-off-by: Cristian Iorga <cristian.iorga@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
---
$ git show cd3eddcf2842b9a360f72caf4337ab2968462bb2 | grep bigint
+Subject: [PATCH] crypto: use bigint in x86-64 perl
++ use bigint;
file://crypto_use_bigint_in_x86-64_perl.patch \
More later in the week unless someone has fixed this already.
../Randy
>
> Cheers,
>
> Richard
>
--
# Randy MacLeod. SMTS, Linux, Wind River
Direct: 613.963.1350 | 350 Terry Fox Drive, Suite 200, Ottawa, ON,
Canada, K2K 2W5
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Should openssl(-native) build-depends on perl-native?
2015-11-09 1:42 ` Randy MacLeod
@ 2015-11-09 12:17 ` Burton, Ross
2015-11-11 16:27 ` Jens Rehsack
0 siblings, 1 reply; 5+ messages in thread
From: Burton, Ross @ 2015-11-09 12:17 UTC (permalink / raw)
To: Randy MacLeod; +Cc: OE-core
[-- Attachment #1: Type: text/plain, Size: 1196 bytes --]
On 9 November 2015 at 01:42, Randy MacLeod <randy.macleod@windriver.com>
wrote:
> openssl fails to build on Fedora 23 with this signature.
> I suspect that bigint.pm isn't standard and that we
> need to re-work:
>
> commit cd3eddcf2842b9a360f72caf4337ab2968462bb2
> Author: Cristian Iorga <cristian.iorga@intel.com>
> Date: Tue Jun 16 00:32:15 2015 +0300
>
> openssl: fix building on x32 systems
>
> Fix build on Fedora 21 i686.
>
> When building on x32 systems where the default type is 32bit,
> make sure that 64bit integers can be represented transparently.
>
> Signed-off-by: Cristian Iorga <cristian.iorga@intel.com>
> Signed-off-by: Ross Burton <ross.burton@intel.com>
>
> ---
>
> $ git show cd3eddcf2842b9a360f72caf4337ab2968462bb2 | grep bigint
> +Subject: [PATCH] crypto: use bigint in x86-64 perl
> ++ use bigint;
> file://crypto_use_bigint_in_x86-64_perl.patch \
>
>
> More later in the week unless someone has fixed this already.
>
That's right (#8562). Installing perl-bignum should fix that. Ideally
someone who understands perl can rewrite the patch so that it works out of
the box on F23.
Ross
[-- Attachment #2: Type: text/html, Size: 1967 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Should openssl(-native) build-depends on perl-native?
2015-11-09 12:17 ` Burton, Ross
@ 2015-11-11 16:27 ` Jens Rehsack
0 siblings, 0 replies; 5+ messages in thread
From: Jens Rehsack @ 2015-11-11 16:27 UTC (permalink / raw)
To: Burton, Ross; +Cc: OE-core
> Am 09.11.2015 um 13:17 schrieb Burton, Ross <ross.burton@intel.com>:
>
>
> On 9 November 2015 at 01:42, Randy MacLeod <randy.macleod@windriver.com> wrote:
> openssl fails to build on Fedora 23 with this signature.
> I suspect that bigint.pm isn't standard and that we
> need to re-work:
>
> commit cd3eddcf2842b9a360f72caf4337ab2968462bb2
> Author: Cristian Iorga <cristian.iorga@intel.com>
> Date: Tue Jun 16 00:32:15 2015 +0300
>
> openssl: fix building on x32 systems
>
> Fix build on Fedora 21 i686.
>
> When building on x32 systems where the default type is 32bit,
> make sure that 64bit integers can be represented transparently.
>
> Signed-off-by: Cristian Iorga <cristian.iorga@intel.com>
> Signed-off-by: Ross Burton <ross.burton@intel.com>
>
> ---
>
> $ git show cd3eddcf2842b9a360f72caf4337ab2968462bb2 | grep bigint
> +Subject: [PATCH] crypto: use bigint in x86-64 perl
> ++ use bigint;
> file://crypto_use_bigint_in_x86-64_perl.patch \
>
>
> More later in the week unless someone has fixed this already.
>
> That's right (#8562). Installing perl-bignum should fix that. Ideally someone who understands perl can rewrite the patch so that it works out of the box on F23.
In my special case I have a very limited perl environment for testing some modules before uploading them to cpan ;)
It'll help to clean up my PATH before running bitbake ^^
Cheers
--
Jens Rehsack - rehsack@gmail.com
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2015-11-11 16:27 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-10-03 12:51 Should openssl(-native) build-depends on perl-native? Jens Rehsack
2015-10-05 8:12 ` Richard Purdie
2015-11-09 1:42 ` Randy MacLeod
2015-11-09 12:17 ` Burton, Ross
2015-11-11 16:27 ` Jens Rehsack
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox