Skip to contentSkip to conversation

openssl build failure

Buildroot Yegor Yefremov 2 participants 3 messages Aug 3, 2011

lore
Share & tools
lore
#0 lore raw

I've tried to compile OpenSSL for ARM and got following error:

arm-unknown-linux-uclibcgnueabi-gcc -DMONOLITH -I.. -I../include -fPIC -DOPENSSL_PIC -DZLIB_SHARED -DZLIB -DOPENSSL_THREADS -D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -DTERMIO -pipe -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Wall -DOPENSSL_BN_ASM_MONT -DSHA1_ASM -DSHA256_ASM -DSHA512_ASM -DAES_ASM -c -o pkeyparam.o pkeyparam.c
{standard input}: Assembler messages:
{standard input}:284: Error: can't resolve .LC4' {.rodata.str1.1 section} - .LPIC5' {*UND* section}

Any idea? About two or three month ago I had no problem compiling this library.

Yegor

#1 lore raw

Le Wed, 03 Aug 2011 11:29:31 +0200,
Yegor Yefremov <[email protected]> a ?crit :

Quoted 11 lines

I've tried to compile OpenSSL for ARM and got following error:

arm-unknown-linux-uclibcgnueabi-gcc -DMONOLITH -I.. -I../include

(quoted diff) +0 -5
-fPIC -DOPENSSL_PIC -DZLIB_SHARED -DZLIB -DOPENSSL_THREADS
-D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -DTERMIO -pipe -Os
-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64
-Wall -DOPENSSL_BN_ASM_MONT -DSHA1_ASM -DSHA256_ASM -DSHA512_ASM
-DAES_ASM   -c -o pkeyparam.o pkeyparam.c {standard input}: Assembler

messages: {standard input}:284: Error: can't resolve .LC4' {.rodata.str1.1 section} - .LPIC5' {*UND* section}

Quoted 2 lines

Any idea? About two or three month ago I had no problem compiling this library.

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48308

Thomas

Signature · 4 lines
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com
#2 lore raw

Am 03.08.2011 13:27, schrieb Thomas Petazzoni:

Quoted 14 lines

Le Wed, 03 Aug 2011 11:29:31 +0200,
Yegor Yefremov <[email protected]> a ?crit :

Quoted 11 lines

I've tried to compile OpenSSL for ARM and got following error:

arm-unknown-linux-uclibcgnueabi-gcc -DMONOLITH -I.. -I../include

(quoted diff) +0 -5
-fPIC -DOPENSSL_PIC -DZLIB_SHARED -DZLIB -DOPENSSL_THREADS
-D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -DTERMIO -pipe -Os
-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64
-Wall -DOPENSSL_BN_ASM_MONT -DSHA1_ASM -DSHA256_ASM -DSHA512_ASM
-DAES_ASM   -c -o pkeyparam.o pkeyparam.c {standard input}: Assembler

messages: {standard input}:284: Error: can't resolve .LC4' {.rodata.str1.1 section} - .LPIC5' {*UND* section}

Quoted 3 lines
Quoted 2 lines

Any idea? About two or three month ago I had no problem compiling this library.

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48308

Thanks. Should we make a comment or dependency on particular GCC version?

Yegor