Summary: | dev-embedded/gpsim-lcd: fails to build with gcc-4.4 | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Diego Elio Pettenò (RETIRED) <flameeyes> |
Component: | New packages | Assignee: | Embedded Team (OBSOLETE) <dev-embedded+disabled> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | esigra, orzel |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 249226 | ||
Attachments: | Build log |
Description
Diego Elio Pettenò (RETIRED)
2009-06-13 11:26:10 UTC
Created attachment 194510 [details]
Build log
(using gcc4.4 on ~amd64) I don't know if that's related to gcc4.4. But i have the same compilation error: .... libtool: compile: x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -march=native -O3 -pipe -msse3 -c lcd.cc -fPIC -DPIC -o .libs/lcd.o In file included from module_manager.cc:52: lcd.h: In constructor ‘LcdTraceType::LcdTraceType(LcdDisplay*, unsigned int)’: lcd.h:89: error: no matching function for call to ‘TraceType::TraceType(unsigned int&)’ /usr/include/gpsim/trace.h:192: note: candidates are: TraceType::TraceType(unsigned int, const char*) /usr/include/gpsim/trace.h:188: note: TraceType::TraceType(const TraceType&) make[2]: *** [module_manager.lo] Error 1 if i do "CC=gcc-4.3.3 emerge dev-embedded/gpsim-lcd" i have the same error. I'm not allowed to change the subject, but i think it should be "fails to build" only. I think gcc-4.3.3 was actually used since the configure says : checking if gcc-4.3.3 supports -fno-rtti -fno-exceptions... no checking for gcc-4.3.3 option to produce PIC... -fPIC -DPIC checking if gcc-4.3.3 PIC flag -fPIC -DPIC works... yes checking if gcc-4.3.3 static flag -static works... yes checking if gcc-4.3.3 supports -c -o file.o... yes checking if gcc-4.3.3 supports -c -o file.o... (cached) yes I've found the 0.2.10 on sf: just renaming the ebuild to gpsim-lcd-0.2.10.ebuild, computing digest and emerging it.... works! For you info. *** Bug 277758 has been marked as a duplicate of this bug. *** (In reply to comment #3) > if i do "CC=gcc-4.3.3 emerge dev-embedded/gpsim-lcd" i have the same error. That's totally wrong way to "change" compiler; no suprise. It was likely using 4.4. Use "gcc-config". Fixed, +*gpsim-lcd-0.2.10 (18 Jul 2009) + + 18 Jul 2009; Samuli Suominen <ssuominen@gentoo.org> + +gpsim-lcd-0.2.10.ebuild: + Version bump. to #6, as i said : "I think gcc-4.3.3 was actually used since the configure says : checking if gcc-4.3.3 supports -fno-rtti -fno-exceptions... no checking for gcc-4.3.3 option to produce PIC... -fPIC -DPIC checking if gcc-4.3.3 PIC flag -fPIC -DPIC works... yes checking if gcc-4.3.3 static flag -static works... yes checking if gcc-4.3.3 supports -c -o file.o... yes checking if gcc-4.3.3 supports -c -o file.o... (cached) yes " |