Build of cross compiler is broken in 4.6.1-5

Bug #816852 reported by Marcin Juszkiewicz
12
This bug affects 1 person
Affects Status Importance Assigned to Milestone
gcc-4.6 (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

4.6.1-5 release of gcc-4.6 added support for multilib on armel. But since then I am unable to build cross compiler:

/usr/arm-linux-gnueabi/bin/ld: error: /home/hrw/HDD/devel/canonical/packaging/gcccvs/branches/sid/gcc-4.6/build/./gcc/hf/crtbeginS.o uses VFP register arguments, hf/libgc
c_s.so.1.tmp does not
/usr/arm-linux-gnueabi/bin/ld: failed to merge target specific data of file /home/hrw/HDD/devel/canonical/packaging/gcccvs/branches/sid/gcc-4.6/build/./gcc/hf/crtbeginS.o
/usr/arm-linux-gnueabi/bin/ld: error: _muldi3_s.o uses VFP register arguments, hf/libgcc_s.so.1.tmp does not
/usr/arm-linux-gnueabi/bin/ld: failed to merge target specific data of file _muldi3_s.o
/usr/arm-linux-gnueabi/bin/ld: error: _negdi2_s.o uses VFP register arguments, hf/libgcc_s.so.1.tmp does not
/usr/arm-linux-gnueabi/bin/ld: failed to merge target specific data of file _negdi2_s.o
/usr/arm-linux-gnueabi/bin/ld: error: _cmpdi2_s.o uses VFP register arguments, hf/libgcc_s.so.1.tmp does not
/usr/arm-linux-gnueabi/bin/ld: failed to merge target specific data of file _cmpdi2_s.o
/usr/arm-linux-gnueabi/bin/ld: error: _ucmpdi2_s.o uses VFP register arguments, hf/libgcc_s.so.1.tmp does not
/usr/arm-linux-gnueabi/bin/ld: failed to merge target specific data of file _ucmpdi2_s.o
/usr/arm-linux-gnueabi/bin/ld: error: _enable_execute_stack_s.o uses VFP register arguments, hf/libgcc_s.so.1.tmp does not
/usr/arm-linux-gnueabi/bin/ld: failed to merge target specific data of file _enable_execute_stack_s.o
/usr/arm-linux-gnueabi/bin/ld: error: _trampoline_s.o uses VFP register arguments, hf/libgcc_s.so.1.tmp does not
/usr/arm-linux-gnueabi/bin/ld: failed to merge target specific data of file _trampoline_s.o
/usr/arm-linux-gnueabi/bin/ld: error: __main_s.o uses VFP register arguments, hf/libgcc_s.so.1.tmp does not
/usr/arm-linux-gnueabi/bin/ld: failed to merge target specific data of file __main_s.o

While I have armel and armhf cross compilers installed.
---
Architecture: amd64
DistroRelease: Ubuntu 11.10
InstallationMedia: Kubuntu 10.04 "Lucid Lynx" - Release Candidate amd64 (20100419.1)
NonfreeKernelModules: nls_iso8859_1 nls_cp437 vfat fat rfcomm binfmt_misc bnep vboxnetadp vboxnetflt vboxdrv ip6table_filter ip6_tables nfsd lockd nfs_acl auth_rpcgss sunrpc ipt_MASQUERADE iptable_nat nf_nat nf_conntrack_ipv4 nf_defrag_ipv4 xt_state nf_conntrack ipt_REJECT xt_CHECKSUM iptable_mangle xt_tcpudp iptable_filter ip_tables x_tables bridge stp kvm_intel kvm microcode parport_pc ppdev snd_hda_codec_hdmi btusb bluetooth joydev appletalk ipx p8023 snd_hda_codec_realtek psmouse serio_raw snd_seq_midi snd_hda_intel snd_hda_codec snd_rawmidi snd_hwdep snd_pcm snd_seq_midi_event snd_seq radeon snd_timer snd_seq_device ttm drm_kms_helper snd drm i2c_algo_bit soundcore snd_page_alloc coretemp lp parport hid_microsoft usb_storage usbhid hid uas ahci libahci r8169
Package: gcc-4.6 4.6.1-5ubuntu2
PackageArchitecture: amd64
ProcEnviron:
 SHELL=/bin/bash
 PATH=(custom, no user)
 LANG=pl_PL.UTF-8
 LANGUAGE=pl_PL:en
ProcVersionSignature: Ubuntu 3.0-3.4-generic 3.0.0-rc5
Tags: oneiric
Uname: Linux 3.0-3-generic x86_64
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm admin cdrom dialout libvirtd lpadmin plugdev sambashare vboxusers video

Revision history for this message
Marcin Juszkiewicz (hrw) wrote : Dependencies.txt

apport information

tags: added: apport-collected oneiric
description: updated
tags: added: armel cross
Revision history for this message
Marcin Juszkiewicz (hrw) wrote :

This patch allows to disable multilib with DEB_CROSS_NO_BIARCH=yes - but build still fails and I need to find out where.

Revision history for this message
Marcin Juszkiewicz (hrw) wrote :

src/gcc/config/arm/t-linux-eabi enables multilib never mind was it enabled with --enable-multilib or not ;(

Revision history for this message
Marcin Juszkiewicz (hrw) wrote :

This patch adds "--enable-multilib" only for multilib builds. Probably not needed.

Revision history for this message
Marcin Juszkiewicz (hrw) wrote :

Allow to do DEB_STAGE builds without multilib - needs tests.

Revision history for this message
Marcin Juszkiewicz (hrw) wrote :

add sf/hf addons only for multlib builds

tags: added: patch
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package gcc-4.6 - 4.6.1-6ubuntu1

---------------
gcc-4.6 (4.6.1-6ubuntu1) oneiric; urgency=low

  * Merge with Debian.

gcc-4.6 (4.6.1-6) unstable; urgency=low

  * Update to SVN 20110807 (r177547) from the gcc-4_6-branch.
    - Fix PR rtl-optimization/49799, PR debug/49871, PR target/47364,
      PR target/49866, PR tree-optimization/49671, PR target/39386,
      PR ada/4981, PR fortran/45586, PR fortran/49791, PR middle-end/49897,
      PR middle-end/49898, PR target/49920, PR target/47908 (closes: #635919),
      PR c++/43886, PR c++/49593, PR c++/49803, PR c++/49924, PR c++/49260,
      PR fortran/49885, PR fortran/48876, PR libstdc++/49925, PR target/50001,
      PR tree-optimization/49948, PR c++/48993, PR c++/49921, PR c++/49669,
      PR c++/49988, PR fortran/49112.

  [ Aurelien Jarno ]
  * Update patches/kbsd-gnu.diff for recent changes. Closes: #635195.
  * Add s390x support.

  [ Marcin Juszkiewicz ]
  * Fixes for multilib cross builds. LP: #816852, #819147.

  [ Matthias Klose ]
  * Fix libgo installation for cross builds.
  * Only apply arm-multilib when building for multilib.
 -- Matthias Klose <email address hidden> Sun, 07 Aug 2011 18:28:58 +0200

Changed in gcc-4.6 (Ubuntu):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.