pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/48126: pkgsrc cross-compilation broken for earm



>Number:         48126
>Category:       pkg
>Synopsis:       pkgsrc cross-compilation broken for earm
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Aug 15 22:40:00 +0000 2013
>Originator:     Jeff Rizzo
>Release:        NetBSD 6.1_RC4
>Organization:
        
>Environment:
        
        
System: NetBSD pomegranate.tastylime.net 6.1_RC4 NetBSD 6.1_RC4 (GENERIC) amd64
Architecture: x86_64
Machine: amd64
>Description:
        Setting up the cross-building stuff as documented in
        pkgsrc/doc/HOWTO-use-crosscompile does not work for earm
        platforms for several reasons:

        - pkgsrc/mk/gnu-config/config.sub needs to be updated

        - the following hardcoded stuff (in mk.conf) was necessary
        MACHINE_ARCH=        earm
        GNU_ARCH.earm=arm
        APPEND_ELF=elf-eabi
        MACHINE_GNU_PLATFORM=arm--netbsdelf-eabi
        NATIVE_MACHINE_GNU_PLATFORM=x86_64--netbsd

>How-To-Repeat:
        try to build packages for evbearm on amd64.
>Fix:

To work around:

        - pkgsrc/mk/gnu-config/config.sub needs to be updated

        - the following hardcoded stuff (in mk.conf) was necessary
        MACHINE_ARCH=        earm
        GNU_ARCH.earm=arm
        APPEND_ELF=elf-eabi
        MACHINE_GNU_PLATFORM=arm--netbsdelf-eabi
        NATIVE_MACHINE_GNU_PLATFORM=x86_64--netbsd

>Unformatted:
        
        


Home | Main Index | Thread Index | Old Index