Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 173927 - dev-libs/boost-1.33.1-r1 is broken on cross compilation
Summary: dev-libs/boost-1.33.1-r1 is broken on cross compilation
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: PPC Linux
: High normal (vote)
Assignee: Tiziano Müller (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-04-09 16:36 UTC by Ihar `Philips` Filipau
Modified: 2009-10-20 20:51 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
dev-libs/boost build log distcc + ppc + x86/cross (dev-libs-boost.txt,32.94 KB, text/plain)
2007-04-09 17:47 UTC, Ihar `Philips` Filipau
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ihar `Philips` Filipau 2007-04-09 16:36:36 UTC
dev-util/boost build (1.33.1-r1, boost jam bases) uses short compiler name - "g++" - instead of fully qualified one.

That breaks cross and/or distributed compilations. And breaks it badly, since it seems that boost library tries to workaround compiler bugs and proceeds with compilation even despite assembly and linking errors.

Reproducible: Always

Steps to Reproduce:
Comment 1 Tiziano Müller (RETIRED) gentoo-dev 2007-04-09 17:29:18 UTC
Please attach the build-log.
Comment 2 Ihar `Philips` Filipau 2007-04-09 17:47:59 UTC
Created attachment 115842 [details]
dev-libs/boost build log distcc + ppc + x86/cross

target: ppc
distccd: x86 + crossdev
Comment 3 Ihar `Philips` Filipau 2007-04-09 17:50:23 UTC
From attachment 115842 [details]:
> /tmp/ccItlhWn.s:1134: Error: no such instruction: `sync'
> /tmp/ccItlhWn.s:1136: Error: no such instruction: `lwarx %ebx,0,%eax'
> /tmp/ccItlhWn.s:1137: Error: no such instruction: `addi %ebx,%ebx,-1'

That's definitely looks like output of PowerPC preprocessor/assembler was tried on x86.

PowerPC is main host. And one/two x86 are parts of distccd compile farm with crossdev for ppc.
Comment 4 Ihar `Philips` Filipau 2007-04-09 17:57:12 UTC
The build was interrupted by me - since this is not first time I have the breakage. If needed I can run it again - to produce complete log.

BTW, is there any option to emerge to save build log?
Comment 5 Dirkjan Ochtman (RETIRED) gentoo-dev 2009-10-20 20:51:11 UTC
Going to close this since it's rather old. Please re-open if you can reproduce this with boost-1.39.