First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 119638
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Daniel Gryniewicz <dang@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Robert Lippmann <rlippmann@hotmail.com>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 119638 depends on: Show dependency tree
Show dependency graph
Bug 119638 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)







View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2006-01-19 21:44 0000
When building logrotate, the compiler is set to cc, which results in
compilation failure in a distcc environment with non linux hosts.

Namely, the following error results:

cc -Wall -D_GNU_SOURCE -DLinux -DVERSION=\"3.7.1\"  -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -g -O3 -march=pentium4 -pipe   -c -o log.o log.c
cc -Wall -D_GNU_SOURCE -DLinux -DVERSION=\"3.7.1\"  -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -g -O3 -march=pentium4 -pipe   -c -o config.o config.c
cc -Wall -D_GNU_SOURCE -DLinux -DVERSION=\"3.7.1\"  -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -g -O3 -march=pentium4 -pipe   -c -o basenames.o
basenames.c
cc -g  logrotate.o log.o config.o basenames.o -lpopt  -o logrotate
logrotate.o: file not recognized: File format not recognized
collect2: ld returned 1 exit status
distcc[23776] ERROR: compile (null) on localhost failed
make: *** [logrotate] Error 1

The ebuild should either set CC to gcc or (preferably) i686-pc-linux-gnu-gcc

------- Comment #1 From Daniel Gryniewicz 2007-01-21 17:11:33 0000 -------
Fixed.  Thanks, Jakub.

First Last Prev Next    No search results available      Search page      Enter new bug