Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 170632 - x11-libs/libsynaptics-0.14.6b fails to emerge with gcc 4.1.2
Summary: x11-libs/libsynaptics-0.14.6b fails to emerge with gcc 4.1.2
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Christian Parpart (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-03-12 19:56 UTC by wbeldman
Modified: 2007-06-19 18:10 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description wbeldman 2007-03-12 19:56:49 UTC
I have recently upgraded from GCC 3.4.6 to GCC 4.1.2. I managed to complete emerge -e system as per the upgrade instructions, but compilation fails during emerge -e world where x11-libs/libsynaptics-0.14.6b fails:
 i686-pc-linux-gnu-g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"libsynaptics\" -DVERSION=\"0.14.4d\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -I. -I. -O2 -march=pentium-m -pipe -MT pad.lo -MD -MP -MF .deps/pad.Tpo -c pad.cpp  -fPIC -DPIC -o .libs/pad.o
pad.cpp: In member function 'virtual void Synaptics::Pad::registerParameters()':
pad.cpp:570: error: '__offsetof__' was not declared in this scope
make: *** [pad.lo] Error 1

!!! ERROR: x11-libs/libsynaptics-0.14.6b failed.
Call stack:
  ebuild.sh, line 1614:   Called dyn_compile
  ebuild.sh, line 971:   Called qa_call 'src_compile'
  environment, line 2976:   Called src_compile
  libsynaptics-0.14.6b.ebuild, line 22:   Called die

!!! emake failed
!!! If you need support, post the topmost build error, and the call stack if relevant.
!!! A complete build log is located at '/var/log/portage/x11-libs:libsynaptics-0.14.6b:20070312-194412.log'.

I have attempted to install with safe flags as suggested here:
http://forums.gentoo.org/viewtopic-t-546026-highlight-.html
but compilation continues to fail.

Reproducible: Always

Steps to Reproduce:
1.emerge x11-libs/libsynaptics-0.14.6b

Actual Results:  
output pasted in summary

Expected Results:  
Compilation continues without error

Additional information about my system can be found in the forum page listed in the summary
Comment 1 Ali Polatel (RETIRED) gentoo-dev 2007-03-13 00:17:24 UTC
(In reply to comment #0)
 
> I have attempted to install with safe flags as suggested here:
> http://forums.gentoo.org/viewtopic-t-546026-highlight-.html
> but compilation continues to fail.
> 
 What CFLAGS do you use? It builds fine here with 
'-02 -pipe -march=pentium-m -mtune=pentium-m'

Comment 2 wbeldman 2007-03-15 19:18:22 UTC
I compiled with the flags linked on the forum page and the ones suggested above and it still fails.
Comment 3 Christian Parpart (RETIRED) gentoo-dev 2007-05-14 13:57:13 UTC
version 0.14.4c is bumped. 
please let me know if you still can't emerge w/ this version.
Comment 4 wbeldman 2007-05-14 15:22:24 UTC
My hard drive crashed since this problem so I will be reinstalling from scratch at a later date. All my gcc 3.4.6->4.1.2 problems (including this one) are moot. Thank you for investigating though.

Not sure how to classify this bug now?
Comment 5 Christian Parpart (RETIRED) gentoo-dev 2007-06-19 18:10:14 UTC
as WORKS4ME, until you run into the veeery same issue once again, so just reopen if you rerun into the same problem ;)