Modify

Opened 7 years ago

Closed 6 years ago

Last modified 4 years ago

#8069 closed defect (fixed)

glibc toolchain doesn't build (LD_LIBRARY_PATH contains current directory)

Reported by: loswillios Owned by: developers
Priority: normal Milestone: Barrier Breaker 14.07
Component: toolchain Version: Trunk
Keywords: glibc, LD_LIBRARY_PATH Cc:

Description

checking LD_LIBRARY_PATH variable... contains current directory
configure: error:
*** LD_LIBRARY_PATH shouldn't contain the current directory when
*** building glibc. Please change the environment variable
*** and run configure again.

could have something to do with setting LD_LIBRARY_PATH in include/toplevel.mk and make descending into staging_dir/host/lib at some point

Attachments (0)

Change History (4)

comment:1 Changed 7 years ago by loswillios <loswillios@…>

same with eglibc

comment:2 Changed 7 years ago by loswillios

My hosts LD_LIBRARY_PATH was set to /proj/ora/app/oracle/product/11.1.0/client_2/lib:/lib:/usr/lib:/usr/shlib::/usr/lib/X11:/usr/dt/lib: which the configure check didn't like (eg, ::). Setting it to something sane resolves the matter.

It remains unclear whether preserving the hostpath like this is really needed:

export LD_LIBRARY_PATH:=$(if $(LD_LIBRARY_PATH),$(LD_LIBRARY_PATH):)$(STAGING_DIR_HOST)/lib

The main problem seems to be that the local LD_LIBRARY_PATH overrides our own. It seems only to be needed when building with an external toolchain.

comment:3 Changed 6 years ago by nbd

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

fixed in r31780

comment:4 Changed 4 years ago by jow

  • Milestone changed from Attitude Adjustment 12.09 to Barrier Breaker 14.07

Milestone Attitude Adjustment 12.09 deleted

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.