Modify

Opened 10 years ago

Closed 10 years ago

#3056 closed defect (worksforme)

ld fails to link openssl on x86 build

Reported by: exobyte Owned by: developers
Priority: normal Milestone:
Component: packages Version:
Keywords: openssl link ld x86 i386 Cc:

Description

ld can't link the library correctly, and says "unresolvable R_386_GOTOFF relocation against symbol `nameservers'"

The 386 in the name makes me think it's i386 specific, but the the corresponding symbols on other archs might also have the problem... or 386 has nothing to do with the architecture.

make[6]: Entering directory `/mnt/openwrt/exobyte/trunk/build_dir/i386/openssl-0.9.8e/apps'
/mnt/openwrt/exobyte/trunk/staging_dir/toolchain-i386_gcc4.1.2/bin/../lib/gcc/i386-linux-uclibc/4.1.2/../../../../i386-linux-uclibc/bin/ld: /mnt/openwrt/exobyte/trunk/staging_dir/toolchain-i386_gcc4.1.2/lib/libc.a(gethostbyaddr_r.os)(.text+0x1fe): unresolvable R_386_GOTOFF relocation against symbol `__nameservers'
/mnt/openwrt/exobyte/trunk/staging_dir/toolchain-i386_gcc4.1.2/bin/../lib/gcc/i386-linux-uclibc/4.1.2/../../../../i386-linux-uclibc/bin/ld: final link failed: Nonrepresentable section on output

Attachments (0)

Change History (3)

comment:1 in reply to: ↑ description ; follow-up: Changed 10 years ago by exobyte

I forgot to mention: this is in the latest SVN revision (Jan 19).

comment:2 in reply to: ↑ 1 Changed 10 years ago by exobyte

Replying to exobyte:

I forgot to mention: this is in the latest SVN revision (Jan 19).

Starting with a fresh checkout seemed to fix things.

comment:3 Changed 10 years ago by nbd

  • Resolution set to worksforme
  • Status changed from new to closed

Add Comment

Modify Ticket

Action
as closed .
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.