Please fix 32-bit builds

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

Please fix 32-bit builds

Larry Finger
There is an outstanding bug for 32-bit Tumbleweed (bsc#1046571) that prevents
the VirtualBox kernel modules from loading since the switch to gcc7. I have
fixed the code, built the packages locally using osc, and tested the new
versions. When I submit the build to OBS, it fails as follows:

==================================================================
[ 2585s] g++ -c -O2 -fPIC -g -pipe -Wshadow -Wall -Wextra
-Wno-missing-field-initializers -Wno-unused -Wno-trigraphs
-fdiagnostics-show-option -Wno-unused-parameter -Wlogical-op
-Wno-variadic-macros -Wno-long-long -Wunused-variable -Wunused-function
-Wunused-label -Wunused-parameter -Wno-overloaded-virtual -Wno-variadic-macros
-Wshadow -fshort-wchar -fpermissive -fexceptions -frtti -fomit-frame-pointer
-fmessage-length=0 -grecord-gcc-switches -O2 -Wall -D_FORTIFY_SOURCE=2
-fstack-protector-strong -funwind-tables -fasynchronous-unwind-tables -g
-fno-omit-frame-pointer -fno-strict-aliasing -fvisibility-inlines-hidden
-fvisibility=hidden -DVBOX_HAVE_VISIBILITY_HIDDEN -DRT_USE_VISIBILITY_DEFAULT
-std=c++11 -fdollars-in-identifiers  -m32
-I/home/abuild/rpmbuild/BUILD/VirtualBox-5.1.22/src/VBox/Main/include
-I/home/abuild/rpmbuild/BUILD/VirtualBox-5.1.22/out/linux.x86/release/bin/sdk/bindings/xpcom/include
-I/home/abuild/rpmbuild/BUILD/VirtualBox-5.1.22/out/linux.x86/release/bin/sdk/bindings/xpcom/include/xpcom
-I/home/abuild/rpmbuild/BUILD/VirtualBox-5.1.22/out/linux.x86/release

Job seems to be stuck here, killed. (after 28800 seconds of inactivity)
==================================================================

Until the switch to gcc7, these failures were disturbing, but now they prevent a
set of users from doing their work.

This issue has been filed as bsc#1046894.

Thanks,

Larry

--
To unsubscribe, e-mail: [hidden email]
To contact the owner, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: Please fix 32-bit builds

Andreas Schwab
On Jun 30 2017, Larry Finger <[hidden email]> wrote:

> ==================================================================
> [ 2585s] g++ -c -O2 -fPIC -g -pipe -Wshadow -Wall -Wextra
> -Wno-missing-field-initializers -Wno-unused -Wno-trigraphs
> -fdiagnostics-show-option -Wno-unused-parameter -Wlogical-op
> -Wno-variadic-macros -Wno-long-long -Wunused-variable -Wunused-function
> -Wunused-label -Wunused-parameter -Wno-overloaded-virtual
> -Wno-variadic-macros -Wshadow -fshort-wchar -fpermissive -fexceptions
> -frtti -fomit-frame-pointer -fmessage-length=0 -grecord-gcc-switches -O2
> -Wall -D_FORTIFY_SOURCE=2 -fstack-protector-strong -funwind-tables
> -fasynchronous-unwind-tables -g
> -fno-omit-frame-pointer -fno-strict-aliasing -fvisibility-inlines-hidden
> -fvisibility=hidden -DVBOX_HAVE_VISIBILITY_HIDDEN
> -DRT_USE_VISIBILITY_DEFAULT -std=c++11 -fdollars-in-identifiers  -m32
> -I/home/abuild/rpmbuild/BUILD/VirtualBox-5.1.22/src/VBox/Main/include
> -I/home/abuild/rpmbuild/BUILD/VirtualBox-5.1.22/out/linux.x86/release/bin/sdk/bindings/xpcom/include
> -I/home/abuild/rpmbuild/BUILD/VirtualBox-5.1.22/out/linux.x86/release/bin/sdk/bindings/xpcom/include/xpcom
> -I/home/abuild/rpmbuild/BUILD/VirtualBox-5.1.22/out/linux.x86/release
>
> Job seems to be stuck here, killed. (after 28800 seconds of inactivity)
> ==================================================================

How much time does it take?

Andreas.

--
Andreas Schwab, [hidden email]
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."
--
To unsubscribe, e-mail: [hidden email]
To contact the owner, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: Please fix 32-bit builds

Larry Finger
On 06/30/2017 11:43 AM, Andreas Schwab wrote:

> On Jun 30 2017, Larry Finger <[hidden email]> wrote:
>
>> ==================================================================
>> [ 2585s] g++ -c -O2 -fPIC -g -pipe -Wshadow -Wall -Wextra
>> -Wno-missing-field-initializers -Wno-unused -Wno-trigraphs
>> -fdiagnostics-show-option -Wno-unused-parameter -Wlogical-op
>> -Wno-variadic-macros -Wno-long-long -Wunused-variable -Wunused-function
>> -Wunused-label -Wunused-parameter -Wno-overloaded-virtual
>> -Wno-variadic-macros -Wshadow -fshort-wchar -fpermissive -fexceptions
>> -frtti -fomit-frame-pointer -fmessage-length=0 -grecord-gcc-switches -O2
>> -Wall -D_FORTIFY_SOURCE=2 -fstack-protector-strong -funwind-tables
>> -fasynchronous-unwind-tables -g
>> -fno-omit-frame-pointer -fno-strict-aliasing -fvisibility-inlines-hidden
>> -fvisibility=hidden -DVBOX_HAVE_VISIBILITY_HIDDEN
>> -DRT_USE_VISIBILITY_DEFAULT -std=c++11 -fdollars-in-identifiers  -m32
>> -I/home/abuild/rpmbuild/BUILD/VirtualBox-5.1.22/src/VBox/Main/include
>> -I/home/abuild/rpmbuild/BUILD/VirtualBox-5.1.22/out/linux.x86/release/bin/sdk/bindings/xpcom/include
>> -I/home/abuild/rpmbuild/BUILD/VirtualBox-5.1.22/out/linux.x86/release/bin/sdk/bindings/xpcom/include/xpcom
>> -I/home/abuild/rpmbuild/BUILD/VirtualBox-5.1.22/out/linux.x86/release
>>
>> Job seems to be stuck here, killed. (after 28800 seconds of inactivity)
>> ==================================================================
>
> How much time does it take?

It should take on the order of 3000 sec. To keep the memory requirements to a
reasonable value, all makes use the -j2 switch. On my core i7 laptop with an
SSD, the complete build takes 2750 sec. That value of 28,800 is completely
unreasonable.

Larry

--
To unsubscribe, e-mail: [hidden email]
To contact the owner, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: Please fix 32-bit builds

Andreas Schwab
On Jun 30 2017, Larry Finger <[hidden email]> wrote:

> It should take on the order of 3000 sec. To keep the memory requirements
> to a reasonable value, all makes use the -j2 switch.

Perhaps it is running out of disk space.

Andreas.

--
Andreas Schwab, [hidden email]
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."
--
To unsubscribe, e-mail: [hidden email]
To contact the owner, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: Please fix 32-bit builds

Adrian Schröter
In reply to this post by Larry Finger

 

JFYI, just moved your bug to the Tumbleweed people, since I don't see

why this should be an OBS issue. It is more likely a toolchain problem

in Tumbleweed.

 

Please tell if you have some information which point to the build environment.

 

Btw, you can also test the same environment local when using

 

osc build --vm-type=kvm ...

 

it will build local running the kernel which is defined to be used for

these builds.

 

bye

adrian

 

On Freitag, 30. Juni 2017, 17:59:00 CEST wrote Larry Finger:

> There is an outstanding bug for 32-bit Tumbleweed (bsc#1046571) that prevents

> the VirtualBox kernel modules from loading since the switch to gcc7. I have

> fixed the code, built the packages locally using osc, and tested the new

> versions. When I submit the build to OBS, it fails as follows:

>

> ==================================================================

> [ 2585s] g++ -c -O2 -fPIC -g -pipe -Wshadow -Wall -Wextra

> -Wno-missing-field-initializers -Wno-unused -Wno-trigraphs

> -fdiagnostics-show-option -Wno-unused-parameter -Wlogical-op

> -Wno-variadic-macros -Wno-long-long -Wunused-variable -Wunused-function

> -Wunused-label -Wunused-parameter -Wno-overloaded-virtual -Wno-variadic-macros

> -Wshadow -fshort-wchar -fpermissive -fexceptions -frtti -fomit-frame-pointer

> -fmessage-length=0 -grecord-gcc-switches -O2 -Wall -D_FORTIFY_SOURCE=2

> -fstack-protector-strong -funwind-tables -fasynchronous-unwind-tables -g

> -fno-omit-frame-pointer -fno-strict-aliasing -fvisibility-inlines-hidden

> -fvisibility=hidden -DVBOX_HAVE_VISIBILITY_HIDDEN -DRT_USE_VISIBILITY_DEFAULT

> -std=c++11 -fdollars-in-identifiers -m32

> -I/home/abuild/rpmbuild/BUILD/VirtualBox-5.1.22/src/VBox/Main/include

> -I/home/abuild/rpmbuild/BUILD/VirtualBox-5.1.22/out/linux.x86/release/bin/sdk/bindings/xpcom/include

> -I/home/abuild/rpmbuild/BUILD/VirtualBox-5.1.22/out/linux.x86/release/bin/sdk/bindings/xpcom/include/xpcom

> -I/home/abuild/rpmbuild/BUILD/VirtualBox-5.1.22/out/linux.x86/release

>

> Job seems to be stuck here, killed. (after 28800 seconds of inactivity)

> ==================================================================

>

> Until the switch to gcc7, these failures were disturbing, but now they prevent a

> set of users from doing their work.

>

> This issue has been filed as bsc#1046894.

>

> Thanks,

>

> Larry

>

>

 

 

--

 

Adrian Schroeter

email: [hidden email]

 

SUSE Linux GmbH, GF: Felix Imendörffer, Jane Smithard, Graham Norton, HRB 21284 (AG Nürnberg)

Maxfeldstraße 5

90409 Nürnberg

Germany