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

Re: can't build gcc-4.3 source since updating to 1.4.6



I found the problem. It wasn't in the build options as you mentioned. It was in the /etc/dpkg-config/cross-config.cache file.

line 158:
ac_cv_prog_cc_stdc=${ac_cv_prog_cc_stdc=-std=gnu99}

This seems to break the configure process, at least for gcc-4.3. I simply commented it out and the build succeeded as it used to. Of course I don't yet know what else will be effected by this change but it seems to be a bug.

Thanks
Dean


Neil Williams wrote:
On Thu, 2008-09-04 at 10:35 +0100, Neil Williams wrote:
On Wed, 2008-09-03 at 18:01 -0400, Dean wrote:
I'm having a problem building gcc-4.3 since updating to emdebian-tools 1.4.6. When I was running 1.4.3 it worked, and it still works on another box that I didn't upgrade. The gcc build gets about halfway through then I start getting multiply defined errors about floor_log2.

I suspect the problem stems from a problem in Dpkg::BuildOptions::parse() which is called from dpkg-buildpackage.
Why? what makes you think it is the build options?

Please report a bug against emdebian-tools or else append the usual
reportbug list of dependencies and suite details - I can't debug this
without a lot more information.

I did a 'emsource --build-dep -b gcc-4.3' and the following lines caught my eye, particularly the one about "invalid flag in DEB_BUILD_OPTIONS":
This could be an old version of dpkg - are you building with dpkg from
testing?

dpkg-buildpackage: warning: invalid flag in DEB_BUILD_OPTIONS:
You can check the autobuilder logs, I see no warnings like this.

http://www.emdebian.org/buildd/

Actually, I have now found this in at least some build logs but it does
not affect the build. I'll see about a fix in 1.4.7 but it is not the
cause of your gcc-4.3 problem.



Reply to: