Linker was not configured to use sysroots

Bug #582645 reported by Xavier Fung
36
This bug affects 7 people
Affects Status Importance Assigned to Milestone
gcc-4.4 (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Binary package hint: gcc-4.4

The latest gcc from Maverick produces this error when it is used to compile something:
/usr/bin/ld: this linker was not configured to use sysroots

The version 4.4.4-2-ubuntu1 has this error while the previous 4.4.4-1-ubuntu2 runs properly.

Revision history for this message
Vidar Braut Haarr (vhaarr+launchpad) wrote :

Also note this when I do ./configure;

configure:3398: checking whether the C++ compiler works
configure:3420: g++ conftest.cpp >&5
/usr/bin/ld: this linker was not configured to use sysroots
collect2: ld returned 1 exit status
configure:3424: $? = 1
configure:3462: result: no
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "mangler"
| #define PACKAGE_TARNAME "mangler"
| #define PACKAGE_VERSION "1.2.0"
| #define PACKAGE_STRING "mangler 1.2.0"
| #define PACKAGE_BUGREPORT "<email address hidden>"
| #define PACKAGE_URL ""
| #define PACKAGE "mangler"
| #define VERSION "1.2.0"
| /* end confdefs.h. */
|
| int
| main ()
| {
|
| ;
| return 0;
| }
configure:3467: error: in `/home/folk/Programs/mangler':
configure:3471: error: C++ compiler cannot create executables
See `config.log' for more details.

Mingming Ren (portis25)
Changed in gcc-4.4 (Ubuntu):
status: New → Confirmed
Revision history for this message
Anders Kaseorg (andersk) wrote :

I think gcc-4.4 needs to update its versioned dependency on binutils (>= 2.20.51.20100407-0ubuntu1).

binutils (2.20.51.20100407-0ubuntu1) lucid; urgency=low

  * Configure native build --with-sysroot=/. Closes: #556126.

 -- Matthias Klose <email address hidden> Thu, 08 Apr 2010 01:31:49 +0200

Revision history for this message
Matthias Klose (doko) wrote :

fixed in maverick. About the versioned dependency: Ubuntu doesn't completely support partial upgrades.

Changed in gcc-4.4 (Ubuntu):
status: Confirmed → 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.