Summary: | dosbox-0.63 doesn't compile with gcc-3.4 | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | José Mata Fernandes <josemataf> |
Component: | [OLD] Games | Assignee: | Gentoo Games <games> |
Status: | RESOLVED WORKSFORME | ||
Severity: | normal | CC: | gcc-porting |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | x86 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
José Mata Fernandes
2004-12-10 09:41:47 UTC
a few things to try: remerge gcc and glibc and try it again try it with CFLAGS="-pipe" CXXFLAGS="-pipe" try it with gcc-3.3 Yep, it builds and merge with gcc-3.3.4. Is it possible to ensure some dependency on a particular compiler version, in the ebuild? I tried to build dosbox in two different PC, but with similar (gcc, libc, etc) configuration, and it fails... can you try with gcc-3.4.1-r3.ebuild and gcc-3.4.2-r2.ebuild please? makes perfect sense, ebx is used for PIC on x86, so that code was not at all PIC-friendly and did not want to be PIC. a bug in the pic/pie patches was making it PIC when it shouldnt have been. this issue -should- be resolved in gcc 3.4.3-r1... please test this to make sure. i'm not on x86 so i dont regularly bump into the same issues, x86_64 has different freakishness where PIC code is concerned. ;) go ahead and reopen after trying that out please. Ok, altought "emerge info" shows for gcc "gcc-3.4.3", im using gcc-3.4.3-r1 (at least is what emerge -pv gcc shows), so i can surelly say that this doesnt build with gcc-3.4.3-r1 (somehow, gcc-config doesnt let me choose explicitly gcc-3.4.3-r1, i dont know if it is ok or some sort of bug) I will emerge gcc-3.4.1-r3 and gcc-3.4.2-r2 so that i can try it out. Didn't build either with gcc-3.4.1-r3 or gcc-3.4.2-r2. Builds fine for me with gcc-3.4.3-r1. builds fine with gcc-3.4.3-r1 here Jos José Mata Fernandes fix your system I have compiled it with gcc-3.4.3-r3 and also tested it on another machine using gcc-4.0 all build successfully. Several Gentoo developers have confirmed that it builds fine on their systems with all the versions of gcc that you've mentioned. There's no telling what's happened to your system from the information you've posted. It seems like you might have some hardened packages or possibly some packages from breakmygentoo but I can't tell for sure. Since you're running with ~x86 in keywords there's no telling what the state of your packages are. I suggest doing revdep-rebuild and see if anything turns up. Also, if you still can't get dosbox to build, it would be worth doing an emerge -ev world and trying then. Also, I note that you have nojoystick in your use flags which means you're taking responsibility for all bugs libsdl-related yourself per the warning in the ebuild. Closing WORKSFORME since no one on this end can reproduce and the problem seems to be local in nature. |