Bug 10389 - linuxloader.bbclass does not understand mips64
Summary: linuxloader.bbclass does not understand mips64
Status: RESOLVED FIXED
Alias: None
Product: OE-Core
Classification: Build System, Metadata & Runtime
Component: core (show other bugs)
Version: 2.2
Hardware: x86 Multiple
: Undecided normal
Target Milestone: 2.2 M4
Assignee: Mark Hatle
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2016-10-06 16:30 UTC by Mark Hatle
Modified: 2016-10-11 16:48 UTC (History)
3 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: No (bug/feature does not impact docs)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mark Hatle 2016-10-06 16:30:25 UTC
The meta/classes/linuxloader.bbclass is used by various things to specify the proper name of the ld.so for a given architecture.

It does not currently have 'mips64' entries, so:

    dynamic_loader="/unknown_dynamic_linker"

is returned.

This can cause problems with mklibs or prelinking.

For a list of the available linkers:

https://sourceware.org/glibc/wiki/ABIList#mips

It should be possible to change the scan to just do something like:

 		powerpc | microblaze )
 			dynamic_loader="${base_libdir}/ld.so.1"
 			;;
		mipsisa32r6el | mipsisa32r6 | mipsisa64r6el | mipsisa64r6)
			dynamic_loader="${base_libdir}/ld-linux-mipsn8.so.1"
                        ;;
		mips*)
 			dynamic_loader="${base_libdir}/ld.so.1"
 			;;

(Note the mipsisa* entries come from a patch recently submitted to the oe-core-devel
Comment 1 Ross Burton 2016-10-11 16:48:12 UTC
Fixed with oe-core b90d68fda3d14b4d19b7ffcb5b80ed28563a616d.