Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 536738 - cross-x86_64-w64-mingw32/gcc-4.8.4 - .../work/gcc-4.8.4/libsanitizer/interception/ error: #error OverrideFunction was not tested on x64
Summary: cross-x86_64-w64-mingw32/gcc-4.8.4 - .../work/gcc-4.8.4/libsanitizer/intercep...
Status: RESOLVED DUPLICATE of bug 525910
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Toolchain Maintainers
: 526142 541786 587900 (view as bug list)
Depends on:
Reported: 2015-01-15 22:26 UTC by smkbot
Modified: 2016-08-10 05:40 UTC (History)
3 users (show)

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

cross-x86_64-w64-mingw32-gcc-stage2.log.xz (cross-x86_64-w64-mingw32-gcc-stage2.log.xz,88.32 KB, application/x-xz)
2015-01-15 22:26 UTC, smkbot
cross-x86_64-w64-mingw32-info.log (cross-x86_64-w64-mingw32-info.log,15.78 KB, text/x-log)
2015-01-15 22:26 UTC, smkbot
gcc-config.logs.tar.xz (gcc-config.logs.tar.xz,74.02 KB, application/x-xz)
2015-01-15 22:26 UTC, smkbot

Note You need to log in before you can comment on or make changes to this bug.
Description smkbot 2015-01-15 22:26:10 UTC
Created attachment 394056 [details]

As the title says, running crossdev -t x86_64-w64-mingw32 fails to build cross-x86_64-w64-mingw32/gcc-4.8.4 (stage 2).

Steps to reproduce:

crossdev -t  x86_64-w64-mingw32

End of output:

libtool: link: /usr/libexec/gcc/x86_64-w64-mingw32/ranlib .libs/libgfortran.a
libtool: link: ( cd ".libs" && rm -f "" && ln -s "../" "" )
make[5]: Leaving directory '/var/tmp/portage/cross-x86_64-w64-mingw32/gcc-4.8.4/work/build/x86_64-w64-mingw32/libgfortran'
make[4]: Leaving directory '/var/tmp/portage/cross-x86_64-w64-mingw32/gcc-4.8.4/work/build/x86_64-w64-mingw32/libgfortran'
make[3]: Leaving directory '/var/tmp/portage/cross-x86_64-w64-mingw32/gcc-4.8.4/work/build'
Makefile:852: recipe for target 'all' failed
make[2]: *** [all] Error 2
make[2]: Leaving directory '/var/tmp/portage/cross-x86_64-w64-mingw32/gcc-4.8.4/work/build'
 * ERROR: cross-x86_64-w64-mingw32/gcc-4.8.4::x-portage failed (compile phase):
 *   emake failed
 * If you need support, post the output of `emerge --info '=cross-x86_64-w64-mingw32/gcc-4.8.4::x-portage'`,
 * the complete build log and the output of `emerge -pqv '=cross-x86_64-w64-mingw32/gcc-4.8.4::x-portage'`.
 * The complete build log is located at '/var/tmp/portage/cross-x86_64-w64-mingw32/gcc-4.8.4/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/cross-x86_64-w64-mingw32/gcc-4.8.4/temp/environment'.
 * Working directory: '/var/tmp/portage/cross-x86_64-w64-mingw32/gcc-4.8.4/work/build'
 * S: '/var/tmp/portage/cross-x86_64-w64-mingw32/gcc-4.8.4/work/gcc-4.8.4'
 * Please include /var/tmp/portage/cross-x86_64-w64-mingw32/gcc-4.8.4/work/gcc-build-logs.tar.bz2 in your bug report.
Comment 1 smkbot 2015-01-15 22:26:40 UTC
Created attachment 394058 [details]
Comment 2 smkbot 2015-01-15 22:26:52 UTC
Created attachment 394060 [details]
Comment 3 smkbot 2015-04-08 18:22:43 UTC
I was able to get MinGW crossdev gcc to build successfully by disabling libsanitizer. I added these to /etc/portage/package.use:

cross-x86_64-w64-mingw32/gcc -sanitize
cross-i686-w64-mingw32/gcc -sanitize

Despite the error message hinting that this was an x64 problem, I had to disable libsanitizer on for both my 32-bit and 64-bit MinGW crossdev environments.

Frankly I'm not familiar with libsanitizer, so I don't know if this should be made default or if this is a bug that needs to be fixed.
Comment 4 SpanKY gentoo-dev 2015-04-08 21:15:14 UTC
*** Bug 541786 has been marked as a duplicate of this bug. ***
Comment 5 SpanKY gentoo-dev 2015-05-18 16:00:18 UTC

*** This bug has been marked as a duplicate of bug 525910 ***
Comment 6 SpanKY gentoo-dev 2016-08-10 05:40:55 UTC
*** Bug 526142 has been marked as a duplicate of this bug. ***
Comment 7 SpanKY gentoo-dev 2016-08-10 05:40:58 UTC
*** Bug 587900 has been marked as a duplicate of this bug. ***