[oe-issues] [Bug 3232] New: icecc-create-env. sh is adding cc1 and cc1plus to wrong directory

bugzilla-daemon at tinman.treke.net bugzilla-daemon at tinman.treke.net
Mon Oct 29 20:27:43 UTC 2007


http://bugs.openembedded.org/show_bug.cgi?id=3232

           Summary: icecc-create-env.sh is adding cc1 and cc1plus to wrong
                    directory
           Product: Openembedded
           Version: unspecified
          Platform: Other
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Build
        AssignedTo: openembedded-issues at lists.openembedded.org
        ReportedBy: rodrigo.vivi at gmail.com


Created an attachment (id=3242)
 --> (http://bugs.openembedded.org/attachment.cgi?id=3242)
patch to fix cc1 location

Icecc breaks when using a fixed $CROSS_DIR (/opt/toolchain) because gcc looks
for cc1 in directories that aren't being send to icecc...

See a dummy compilation using the env created by icecc-create-env.sh:

$ strace /tmp/ice/usr/bin/gcc test.c -o test.c  2>&1 | grep cc1
stat64("/tmp/ice/usr/bin/../libexec/gcc/arm-mamona-linux-gnueabi/4.1.2/cc1",
0xbf92de20) = -1 ENOENT (No such file or directory)
stat64("/tmp/ice/usr/bin/../libexec/gcc/cc1", 0xbf92de20) = -1 ENOENT (No such
file or directory)
stat64("/opt/toolchain/libexec/gcc/arm-mamona-linux-gnueabi/4.1.2/cc1",
0xbf92de20) = -1 ENOENT (No such file or directory)
stat64("/opt/toolchain/libexec/gcc/arm-mamona-linux-gnueabi/4.1.2/cc1",
0xbf92de20) = -1 ENOENT (No such file or directory)

ERROR: 'cc1': execvp: No such file or directory

But the cc1 is under:
$ find /tmp/ice -name cc1
/tmp/ice/usr/bin/cc1


-- 
Configure bugmail: http://bugs.openembedded.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.




More information about the Openembedded-issues mailing list