[Bug 50996] GCC11 & wineg++ regression: missing /usr/include path

WineHQ Bugzilla wine-bugs at winehq.org
Tue Apr 20 05:26:42 CDT 2021


https://bugs.winehq.org/show_bug.cgi?id=50996

--- Comment #11 from Dave Plater <davejplater at gmail.com> ---
(In reply to Patrick from comment #10)
> Hi Jacek,
> 
> Thank you for the patch. Using GCC11 I rebuilt wine-6.6 with the patch but
> when rebuilding yabridge after that it fails with the same error (see #c0)
> so something isn't right, at least for me. Can anyone else please verify
> that the patch works plus GCC version?

I can confirm that this patch doesn't fix the winegcc build problem in either
carla/jackbridge or lmms. Using gcc10. The regression patch does fix the
problem. I've tried -isystem, -idirafter and -nostdinc++ in the hope of fixing
the build without patching wine 6.6.
winegcc JackBridge1.cpp -Wall -Wextra -pipe -DBUILDING_CARLA -DREAL_BUILD -MD
-MP -fno-common -fPIC -DPIC -DNDEBUG -O3 -ffast-math -mtune=generic -msse
-msse2 -mfpmath=sse -fdata-sections -ffunction-sections -fvisibility=hidden
-DHAVE_DGL -DDGL_NAMESPACE=CarlaDGL -DDGL_FILE_BROWSER_DISABLED
-DDGL_NO_SHARED_RESOURCES -DHAVE_FLUIDSYNTH -DHAVE_HYLIA -DHAVE_LIBLO
-DHAVE_LIBMAGIC -DHAVE_PYQT -DHAVE_SNDFILE -DHAVE_X11 -DUSING_JUCE
-DUSING_JUCE_GUI_EXTRA   -DCARLA_LIB_EXT=\".so\" -std=gnu++0x -O2 -Wall
-D_FORTIFY_SOURCE=2 -funwind-tables -fasynchronous-unwind-tables
-Werror=return-type  -DJUCE_APP_CONFIG_HEADER='<AppConfig.h>' -I. -I../includes
-I../utils  -m32 -fpermissive -I/usr/include/wine/wine/windows
-I/usr/include/wine-development/windows -I/opt/wine-devel/include/wine/windows
-L/usr/lib32/wine -L/usr/lib/i386-linux-gnu/wine
-L/usr/lib/i386-linux-gnu/wine-development -L/opt/wine-stable/lib
-L/opt/wine-stable/lib/wine -L/opt/wine-staging/lib
-L/opt/wine-staging/lib/wine -c -o
../../build/jackbridge/Release/JackBridge1.cpp.wine32.o

/usr/include/c++/10/cstdlib:75:15: fatal error: stdlib.h: No such file or
directory
75 | #include_next <stdlib.h>

-- 
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.



More information about the wine-bugs mailing list