Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mingw with windows gcc plugin suppot is missing #1

Open
labba opened this Issue Mar 13, 2019 · 8 comments

Comments

Projects
None yet
2 participants
@labba
Copy link

labba commented Mar 13, 2019

hi
i'm using windows Mingw and couldn't find a copmlete build of Mingw with latest gcc that was gcc configure with "--enable-plugin"
can you please build and upload a new build with gcc configured with "----enable-plugin" ? it should generate a new folder that is now missing in the latest build
the new folder should be generate in "mingw32\lib\gcc\i686-w64-mingw32\8.3.1" as a "plugin" folder with some libs and includes so it would be possible to compile plugins also in windows build..
it was published here that this is now supported :
https://www.phoronix.com/scan.php?page=news_item&px=GCC-Plugins-Windows-MinGW

@lhmouse

This comment has been minimized.

Copy link
Owner

lhmouse commented Mar 14, 2019

Looks like something interesting 👍. Building now.

BTW you may try building yourself by invoking the command makepkg-mingw in the mingw-w64-gcc-git directory in a MSYS2 shell.

@lhmouse

This comment has been minimized.

Copy link
Owner

lhmouse commented Mar 14, 2019

Done. New builds are now available at https://gcc-mcf.lhmouse.com/.

SHA-1 checksums:

ba2dec40191d377cfc74b5a33b56cdc6c36adf30 *mingw32.7z
eeb47806458eff9caf307dde840d9f671552361a *mingw64.7z
@labba

This comment has been minimized.

Copy link
Author

labba commented Mar 18, 2019

thanks!

i have tried building from git and gotten the following error after a while:

make[3]: Leaving directory '/c/gcc/MINGW-packages/mingw-w64-gcc-git/src /build-x86_64-w64-mingw32'
Comparing stages 2 and 3
warning: gcc/cc1obj-checksum.o differs
warning: gcc/cc1objplus-checksum.o differs
Bootstrap comparison failure!
gcc/optabs-libfuncs.o differs
make[2]: *** [Makefile:23396: compare] Error 1
make[2]: Leaving directory '/c/gcc/MINGW-packages/mingw-w64-gcc-git/src /build-x86_64-w64-mingw32'
make[1]: *** [Makefile:23376: stage3-bubble] Error 2
make[1]: Leaving directory '/c/gcc/MINGW-packages/mingw-w64-gcc-git/src /build-x86_64-w64-mingw32'
make: *** [Makefile:949: all] Error 2
==> ERROR: A failure occurred in build().
Aborting...

@lhmouse

This comment has been minimized.

Copy link
Owner

lhmouse commented Mar 18, 2019

Hmm perhaps something (including system headers, libraries etc.) changed during your build. Or there was some misconfiguration of your environment that caused a wrong compiler to be invoked for that stage.

@labba

This comment has been minimized.

Copy link
Author

labba commented Mar 18, 2019

i think its misconfiguration on my env. but i haven't seen any clear environment setup requirements.

@lhmouse

This comment has been minimized.

Copy link
Owner

lhmouse commented Mar 18, 2019

Running makepkg-mingw inside an MSYS2 shell (not a mingw32 or mingw64 shell) should suffice. In reality that isn't what I do. I have my PATH set like /mingw64/bin:/mingw32/bin:/usr/bin:<...> and invoke makepkg-mingw in CMD, and that should just work.

@labba

This comment has been minimized.

Copy link
Author

labba commented Mar 18, 2019

it's not enough since while i have compiled i found that i was missing "diffutils" package that is also missging that wasn't reported as required also "tar" wasn't required and i had to install it.

so the pre-requirement are still not complete and need to give a try and build on top of a clean system to find what is the needed pre-requisites to have a good build like is being done on a docker like image that you can see in the script how it build the entire environment and compile it.

@lhmouse

This comment has been minimized.

Copy link
Owner

lhmouse commented Mar 18, 2019

Try pacman -S base-devel.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.