Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 551518 - =dev-cpp/glibmm-2.42.0-r1 fails tests with clang-3.6.1 (glibmm_variant/test - test-driver: line 107: Segmentation fault)
Summary: =dev-cpp/glibmm-2.42.0-r1 fails tests with clang-3.6.1 (glibmm_variant/test -...
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords: TESTFAILURE
Depends on:
Blocks: systemwide-clang
  Show dependency tree
 
Reported: 2015-06-08 21:08 UTC by Fabio Scaccabarozzi
Modified: 2016-06-25 07:41 UTC (History)
2 users (show)

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


Attachments
Emerge log of failing glibmm (latest stable: 2.42.0-1) (dev-cpp:glibmm-2.42.0-r1:20150608-203158.log,682.90 KB, text/plain)
2015-06-08 21:09 UTC, Fabio Scaccabarozzi
Details
Requested "emerge --info" (emerge_info.log,7.26 KB, text/x-log)
2015-06-10 20:08 UTC, Fabio Scaccabarozzi
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Fabio Scaccabarozzi 2015-06-08 21:08:57 UTC
=dev-cpp/glibmm-2.42.0-r1 fails tests with clang-3.6.1, passes with GCC 4.9.2.

Reproducible: Always

Steps to Reproduce:
1. FEATURES="test" CC="clang" CXX="clang++" emerge -1 =dev-cpp/glibmm-2.42.0-r1
2.
3.
Actual Results:  
Tests fail.

Expected Results:  
Tests should pass.

Attached the failing build log of the latest stable.
Comment 1 Fabio Scaccabarozzi 2015-06-08 21:09:55 UTC
Created attachment 404784 [details]
Emerge log of failing glibmm (latest stable: 2.42.0-1)
Comment 2 Alexandre Rostovtsev (RETIRED) gentoo-dev 2015-06-09 20:12:01 UTC
Comment on attachment 404784 [details]
Emerge log of failing glibmm (latest stable: 2.42.0-1)

Please attach the output of "emerge --info dev-libs/glib dev-libs/libsigc++"

Do you remember if you built glib and libsigc++ using clang or gcc?
Comment 3 Alexandre Rostovtsev (RETIRED) gentoo-dev 2015-06-09 20:14:41 UTC
Also, please check if using -O2 instead of -O3 allows tests to pass.
Comment 4 Fabio Scaccabarozzi 2015-06-10 20:08:55 UTC
Created attachment 404910 [details]
Requested "emerge --info"

Requested output of "emerge --info dev-libs/glib dev-libs/libsigc++ &> emerge_info.log"
Comment 5 Fabio Scaccabarozzi 2015-06-10 20:09:26 UTC
Tests still fail with -O2 instead of -O3.
Comment 6 Fabio Scaccabarozzi 2015-06-10 20:13:24 UTC
~ # cat /var/db/pkg/dev-libs/glib-2.42.2/CC /var/db/pkg/dev-libs/glib-2.42.2/CXX
gcc
g++

~ # cat /var/db/pkg/dev-libs/libsigc++-2.4.1/CC /var/db/pkg/dev-libs/libsigc++-2.4.1/CXX
clang
clang++

Sorry for the multiple comments, there were many requests and each time I went back checking the others :)
I remember glib was one of the next on my bug submissions, so probably it's still failing tests as well, I will submit a new bug soon if that is the case.
Comment 7 Pacho Ramos gentoo-dev 2016-06-25 07:41:32 UTC
Please try with glibmm-2.48.1