Bug 1225900 - windows:mingw:win32/mingw32-gcc: Warning: position-independent-executable-suggested /usr/bin/i686-w64-mingw32-c++ and others
Summary: windows:mingw:win32/mingw32-gcc: Warning: position-independent-executable-sug...
Status: RESOLVED FIXED
Alias: None
Product: openSUSE.org
Classification: openSUSE
Component: 3rd party software (show other bugs)
Version: unspecified
Hardware: Other Other
: P5 - None : Normal (vote)
Target Milestone: ---
Assignee: Ralf Habacker
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-06-04 08:25 UTC by Ralf Habacker
Modified: 2024-06-06 08:41 UTC (History)
1 user (show)

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ralf Habacker 2024-06-04 08:25:17 UTC
When building the cross compiler a warning is printed that the executables should be compiled position independent.

[  651s] mingw32-cross-gcc-c++.x86_64: W: position-independent-executable-suggested /usr/bin/i686-w64-mingw32-c++
[  651s] mingw32-cross-cpp.x86_64: W: position-independent-executable-suggested /usr/bin/i686-w64-mingw32-cpp
[  651s] mingw32-cross-gcc-c++.x86_64: W: position-independent-executable-suggested /usr/bin/i686-w64-mingw32-g++
[  651s] mingw32-cross-gcc.x86_64: W: position-independent-executable-suggested /usr/bin/i686-w64-mingw32-gcc
[  651s] mingw32-cross-gcc.x86_64: W: position-independent-executable-suggested /usr/bin/i686-w64-mingw32-gcc-13.2.0
[  651s] mingw32-cross-gcc.x86_64: W: position-independent-executable-suggested /usr/bin/i686-w64-mingw32-gcc-ar
[  651s] mingw32-cross-gcc.x86_64: W: position-independent-executable-suggested /usr/bin/i686-w64-mingw32-gcc-nm
[  651s] mingw32-cross-gcc.x86_64: W: position-independent-executable-suggested /usr/bin/i686-w64-mingw32-gcc-ranlib
[  651s] mingw32-cross-gcc.x86_64: W: position-independent-executable-suggested /usr/bin/i686-w64-mingw32-gcov
[  651s] mingw32-cross-gcc.x86_64: W: position-independent-executable-suggested /usr/bin/i686-w64-mingw32-gcov-dump
[  651s] mingw32-cross-gcc.x86_64: W: position-independent-executable-suggested /usr/bin/i686-w64-mingw32-gcov-tool
[  651s] mingw32-cross-gcc-fortran.x86_64: W: position-independent-executable-suggested /usr/bin/i686-w64-mingw32-gfortran
[  651s] mingw32-cross-gcc.x86_64: W: position-independent-executable-suggested /usr/bin/i686-w64-mingw32-lto-dump
[  651s] mingw32-cross-cpp.x86_64: W: position-independent-executable-suggested /usr/lib64/gcc/i686-w64-mingw32/13.2.0/cc1
[  651s] mingw32-cross-gcc-objc.x86_64: W: position-independent-executable-suggested /usr/lib64/gcc/i686-w64-mingw32/13.2.0/cc1obj
[  651s] mingw32-cross-gcc-objc.x86_64: W: position-independent-executable-suggested /usr/lib64/gcc/i686-w64-mingw32/13.2.0/cc1objplus
[  651s] mingw32-cross-gcc-c++.x86_64: W: position-independent-executable-suggested /usr/lib64/gcc/i686-w64-mingw32/13.2.0/cc1plus
[  651s] mingw32-cross-gcc.x86_64: W: position-independent-executable-suggested /usr/lib64/gcc/i686-w64-mingw32/13.2.0/collect2
[  651s] mingw32-cross-gcc-fortran.x86_64: W: position-independent-executable-suggested /usr/lib64/gcc/i686-w64-mingw32/13.2.0/f951
[  651s] mingw32-cross-gcc-c++.x86_64: W: position-independent-executable-suggested /usr/lib64/gcc/i686-w64-mingw32/13.2.0/g++-mapper-server
[  651s] mingw32-cross-gcc.x86_64: W: position-independent-executable-suggested /usr/lib64/gcc/i686-w64-mingw32/13.2.0/install-tools/fixincl
[  651s] mingw32-cross-gcc.x86_64: W: position-independent-executable-suggested /usr/lib64/gcc/i686-w64-mingw32/13.2.0/lto-wrapper
[  651s] mingw32-cross-gcc.x86_64: W: position-independent-executable-suggested /usr/lib64/gcc/i686-w64-mingw32/13.2.0/lto1
[  651s] This executable should be position independent (all binaries should).  Check
[  651s] that it is built with -fPIE/-fpie in compiler flags and -pie in linker flags.