-source build-dep not needed when building cross-compilers
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
gcc-4.4 (Ubuntu) |
Won't Fix
|
Undecided
|
Unassigned | ||
gcc-4.5 (Ubuntu) |
Won't Fix
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: gcc-4.4
Hi
In 4.4.2-1:
* GCC 4.4.2 release.
- Fixes PR target/26515, PR target/41680, PR rtl-optimizatio
PR c++/39863, PR c++/41038.
* Fix setting timeout for testsuite runs.
* gcj-4.4/
by default.
* gcj-4.4: Run the libffi testsuite as well.
* Add explicit build dependency on zlib1g-dev.
* Fix cross builds, add support for gomp and gfortran (only tested for
non-biarch targets).
* (Build-)depend on binutils-2.20.
* Fix up omp.h for multilibs (taken from Fedora).
these lines were added:
SOURCE_BUILD_DEP :=
ifeq (,$(findstring gcc,$(PKGSOURCE)))
SOURCE_BUILD_DEP := gcc-$(BASE_
endif
This seems to break my cross-compiler buils. I don't think I need gcc-4.4-source to build a gcc-4.4 cross-compiler (host == build != target), but perhaps it's needed for other cases?
Thanks,
Sorry, pasted the wrong snippet of rules.conf, this is the one adding the build-dep: (cross_ lib_arch) , zlib1g- dev$(cross_ lib_arch) , libmpfr- dev$(cross_ lib_arch) , VERSION) -source (>= $(GCC_VERSION)), gcc-$(BASE_ VERSION) -source (<< $(NEXT_ GCC_VERSION) ),
else
# build cross compiler
CROSS_BUILD_DEP := libc6-dev$
SOURCE_BUILD_DEP := gcc-$(BASE_